Remove unused variable.

pull/1676/head
Nicholas Marriott 2019-04-10 07:27:21 +01:00
parent 3c5d3a3780
commit 4a3ac3bd26
1 changed files with 1 additions and 7 deletions

View File

@ -208,7 +208,7 @@ spawn_pane(struct spawn_context *sc, char **cause)
struct environ_entry *ee;
char **argv, *cp, **argvp, *argv0, *cwd;
const char *cmd, *tmp;
int argc, full_size;
int argc;
u_int idx;
struct termios now;
u_int hlimit;
@ -217,12 +217,6 @@ spawn_pane(struct spawn_context *sc, char **cause)
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
* either create a new cell or assign to the one we are given.