summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--status.c4
1 files changed, 1 insertions, 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;