mirror of
https://github.com/tmux/tmux.git
synced 2025-01-05 23:38:48 +00:00
Remove unused variable.
This commit is contained in:
parent
3c5d3a3780
commit
4a3ac3bd26
8
spawn.c
8
spawn.c
@ -208,7 +208,7 @@ spawn_pane(struct spawn_context *sc, char **cause)
|
|||||||
struct environ_entry *ee;
|
struct environ_entry *ee;
|
||||||
char **argv, *cp, **argvp, *argv0, *cwd;
|
char **argv, *cp, **argvp, *argv0, *cwd;
|
||||||
const char *cmd, *tmp;
|
const char *cmd, *tmp;
|
||||||
int argc, full_size;
|
int argc;
|
||||||
u_int idx;
|
u_int idx;
|
||||||
struct termios now;
|
struct termios now;
|
||||||
u_int hlimit;
|
u_int hlimit;
|
||||||
@ -217,12 +217,6 @@ spawn_pane(struct spawn_context *sc, char **cause)
|
|||||||
|
|
||||||
spawn_log(__func__, sc);
|
spawn_log(__func__, sc);
|
||||||
|
|
||||||
/* Check full size flag. */
|
|
||||||
if (sc->flags & SPAWN_FULLSIZE)
|
|
||||||
full_size = 1;
|
|
||||||
else
|
|
||||||
full_size = 0;
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* If we are respawning then get rid of the old process. Otherwise
|
* If we are respawning then get rid of the old process. Otherwise
|
||||||
* either create a new cell or assign to the one we are given.
|
* either create a new cell or assign to the one we are given.
|
||||||
|
Loading…
Reference in New Issue
Block a user