Unused (but assigned to) variable, found by lint.

This commit is contained in:
Nicholas Marriott 2009-11-04 20:35:19 +00:00
parent 10f58cb1bc
commit f575e39b0a

View File

@ -440,7 +440,7 @@ char *
status_job(struct client *c, char **iptr)
{
struct job *job;
char *buf, *cmd;
char *cmd;
int lastesc;
size_t len;
@ -451,8 +451,6 @@ status_job(struct client *c, char **iptr)
return (NULL);
}
buf = NULL;
cmd = xmalloc(strlen(*iptr) + 1);
len = 0;