mirror of
https://github.com/tmux/tmux.git
synced 2025-01-13 11:58:51 +00:00
Unused (but assigned to) variable, found by lint.
This commit is contained in:
parent
10f58cb1bc
commit
f575e39b0a
4
status.c
4
status.c
@ -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;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user