From f575e39b0a367ae9b8a7cf54ceead865b8885eed Mon Sep 17 00:00:00 2001 From: Nicholas Marriott Date: Wed, 4 Nov 2009 20:35:19 +0000 Subject: [PATCH] Unused (but assigned to) variable, found by lint. --- status.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/status.c b/status.c index 643c30c6..21ca31a2 100644 --- a/status.c +++ b/status.c @@ -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;