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

pull/1/head
Nicholas Marriott 2009-11-04 20:35:19 +00:00
parent 10f58cb1bc
commit f575e39b0a
1 changed files with 1 additions and 3 deletions

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;