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