Commit Diff


commit - 2fe98292e4e3a87d470deacc6a33e4c4a90693b7
commit + 2ff75826ba08f284c1dc0bb77493314810b74d36
blob - 087c4a2583f16b64436dca3e7295d721c7ac349d
blob + 4278cc3ef22718865e75b4b95d281af2ec56763f
--- ui.c
+++ ui.c
@@ -725,9 +725,8 @@ cmd_tab_close(struct window *window)
 static void
 cmd_tab_close_other(struct window *window)
 {
-	struct tab *tab, *t, *i;
+	struct tab *t, *i;
 
-	tab = current_tab();
 	TAILQ_FOREACH_SAFE(t, &tabshead, tabs, i) {
 		if (t->flags & TAB_CURRENT)
 			continue;