diff options
author | 2009-11-04 20:35:19 +0000 | |
---|---|---|
committer | 2009-11-04 20:35:19 +0000 | |
commit | 79423d910de85970dd0d5a517114b4fc8bc3b75e (patch) | |
tree | 27aec1a68521fb94a6df9f63e75cd550cb3af5d9 | |
parent | Get rid of __HAVE_GENERIC_SOFT_INTERRUPTS now that all our platforms support it. (diff) | |
download | wireguard-openbsd-79423d910de85970dd0d5a517114b4fc8bc3b75e.tar.xz wireguard-openbsd-79423d910de85970dd0d5a517114b4fc8bc3b75e.zip |
Unused (but assigned to) variable, found by lint.
-rw-r--r-- | usr.bin/tmux/status.c | 6 |
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; |