aboutsummaryrefslogtreecommitdiff
path: root/spawn.c
diff options
context:
space:
mode:
authorNicholas Marriott <nicholas.marriott@gmail.com>2019-04-10 07:27:21 +0100
committerNicholas Marriott <nicholas.marriott@gmail.com>2019-04-10 07:27:21 +0100
commit4a3ac3bd26e4cc0390ca0f3d116c38146adb2d94 (patch)
tree609c0f4890bb2a90e5a5fd39d82e035562421b4a /spawn.c
parent3c5d3a37802eee528b9cc7738e3946993d7d5664 (diff)
downloadrtmux-4a3ac3bd26e4cc0390ca0f3d116c38146adb2d94.tar.gz
rtmux-4a3ac3bd26e4cc0390ca0f3d116c38146adb2d94.tar.bz2
rtmux-4a3ac3bd26e4cc0390ca0f3d116c38146adb2d94.zip
Remove unused variable.
Diffstat (limited to 'spawn.c')
-rw-r--r--spawn.c8
1 files changed, 1 insertions, 7 deletions
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.