aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Adam <thomas@xteddy.org>2018-07-15 11:02:25 +0100
committerThomas Adam <thomas@xteddy.org>2018-07-15 11:02:25 +0100
commit6de991d855e66e341ca30d9a40a65f3f2c905984 (patch)
tree84e774f98e27317f46f858b1be13cf4a6404c475
parent711b8164bb9dc795a6785796fb5ec95106457985 (diff)
parentff67ef945dd9b93b7d62ea1ec8077d86f3c57d12 (diff)
downloadrtmux-6de991d855e66e341ca30d9a40a65f3f2c905984.tar.gz
rtmux-6de991d855e66e341ca30d9a40a65f3f2c905984.tar.bz2
rtmux-6de991d855e66e341ca30d9a40a65f3f2c905984.zip
Merge branch 'obsd-master'
-rw-r--r--cmd-new-window.c1
1 files changed, 0 insertions, 1 deletions
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')) {