summaryrefslogtreecommitdiffstats
path: root/window.c
diff options
context:
space:
mode:
authornicm <nicm>2018-08-05 08:59:30 +0000
committernicm <nicm>2018-08-05 08:59:30 +0000
commitf5d7a80272ca2d091c5a511019ac4b8d98ca7167 (patch)
tree6dcbb1bea22dc7339c3243b5ddecf724a69d576c /window.c
parentd6ff630498bbbeb4cd7d28ba4b540724f7c7ed86 (diff)
calloc the mode data instead of malloc and initialize everything.
Diffstat (limited to 'window.c')
-rw-r--r--window.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/window.c b/window.c
index db6ff8c9..019718f2 100644
--- a/window.c
+++ b/window.c
@@ -894,7 +894,6 @@ window_pane_spawn(struct window_pane *wp, int argc, char **argv,
char *argv0, *cmd, **argvp;
const char *ptr, *first, *home;
struct termios tio2;
- int i;
sigset_t set, oldset;
if (wp->fd != -1) {