Sync OpenBSD patchset 490:

Unused (but assigned to) variable, found by lint.
This commit is contained in:
Tiago Cunha 2009-11-04 23:12:32 +00:00
parent 27c2b98f5f
commit 625348122c

View File

@ -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> * Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net>
@ -440,7 +440,7 @@ char *
status_job(struct client *c, char **iptr) status_job(struct client *c, char **iptr)
{ {
struct job *job; struct job *job;
char *buf, *cmd; char *cmd;
int lastesc; int lastesc;
size_t len; size_t len;
@ -451,8 +451,6 @@ status_job(struct client *c, char **iptr)
return (NULL); return (NULL);
} }
buf = NULL;
cmd = xmalloc(strlen(*iptr) + 1); cmd = xmalloc(strlen(*iptr) + 1);
len = 0; len = 0;