aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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.