aboutsummaryrefslogtreecommitdiff
path: root/status.c
diff options
context:
space:
mode:
authorTiago Cunha <tcunha@gmx.com>2009-11-04 23:12:32 +0000
committerTiago Cunha <tcunha@gmx.com>2009-11-04 23:12:32 +0000
commit625348122cb36eb81bdffca4f2fdeaa0dd1b59f7 (patch)
tree9124ad0d6489d380402c0ce70e25c9acd5960abc /status.c
parent27c2b98f5f56674223dedb01a3ddcd41c366bda3 (diff)
downloadrtmux-625348122cb36eb81bdffca4f2fdeaa0dd1b59f7.tar.gz
rtmux-625348122cb36eb81bdffca4f2fdeaa0dd1b59f7.tar.bz2
rtmux-625348122cb36eb81bdffca4f2fdeaa0dd1b59f7.zip
Sync OpenBSD patchset 490:
Unused (but assigned to) variable, found by lint.
Diffstat (limited to 'status.c')
-rw-r--r--status.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/status.c b/status.c
index 08ca4c2c..997f86f0 100644
--- a/status.c
+++ b/status.c
@@ -1,4 +1,4 @@
-/* $Id: status.c,v 1.124 2009-11-02 21:38:26 tcunha Exp $ */
+/* $Id: status.c,v 1.125 2009-11-04 23:12:32 tcunha 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;