From 4a3ac3bd26e4cc0390ca0f3d116c38146adb2d94 Mon Sep 17 00:00:00 2001 From: Nicholas Marriott Date: Wed, 10 Apr 2019 07:27:21 +0100 Subject: Remove unused variable. --- spawn.c | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) (limited to 'spawn.c') diff --git a/spawn.c b/spawn.c index 0b6f2ed6..1da3c857 100644 --- a/spawn.c +++ b/spawn.c @@ -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. -- cgit