From 481703d6698467e459d5b3ff3cd4322bd0385798 Mon Sep 17 00:00:00 2001 From: nicm Date: Mon, 15 Jan 2018 15:27:03 +0000 Subject: Some unused code, GitHub issue 1219. --- cmd-find.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'cmd-find.c') diff --git a/cmd-find.c b/cmd-find.c index 358161a9..3c583d79 100644 --- a/cmd-find.c +++ b/cmd-find.c @@ -588,8 +588,6 @@ cmd_find_get_pane_with_window(struct cmd_find_state *fs, const char *pane) /* Try special characters. */ if (strcmp(pane, "!") == 0) { - if (fs->w->last == NULL) - return (-1); fs->wp = fs->w->last; if (fs->wp == NULL) return (-1); -- cgit