mirror of
https://github.com/tmate-io/tmate.git
synced 2026-07-23 11:07:44 +00:00
Unused (but assigned to) variable, found by lint.
This commit is contained in:
parent
10f58cb1bc
commit
f575e39b0a
1 changed files with 1 additions and 3 deletions
4
status.c
4
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;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue