From ff67ef945dd9b93b7d62ea1ec8077d86f3c57d12 Mon Sep 17 00:00:00 2001 From: nicm Date: Sun, 15 Jul 2018 06:57:13 +0000 Subject: [PATCH] Fix new-window -k, GitHub issue 1403. --- cmd-new-window.c | 1 - 1 file changed, 1 deletion(-) diff --git a/cmd-new-window.c b/cmd-new-window.c index 6a7cf0b8..5baeff65 100644 --- a/cmd-new-window.c +++ b/cmd-new-window.c @@ -103,7 +103,6 @@ cmd_new_window_exec(struct cmd *self, struct cmdq_item *item) else name = NULL; - wl = NULL; if (idx != -1) wl = winlink_find_by_index(&s->windows, idx); if (wl != NULL && args_has(args, 'k')) {