summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--usr.bin/tmux/status.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/usr.bin/tmux/status.c b/usr.bin/tmux/status.c
index 4fb8de43416..6c5220c36a1 100644
--- a/usr.bin/tmux/status.c
+++ b/usr.bin/tmux/status.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: status.c,v 1.39 2009/11/01 23:20:37 nicm Exp $ */
+/* $OpenBSD: status.c,v 1.40 2009/11/04 20:35:19 nicm Exp $ */
/*
* Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net>
@@ -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;