summaryrefslogtreecommitdiffstats
path: root/cmd-find.c
diff options
context:
space:
mode:
authornicm <nicm>2018-01-15 15:27:03 +0000
committernicm <nicm>2018-01-15 15:27:03 +0000
commit481703d6698467e459d5b3ff3cd4322bd0385798 (patch)
treeec7f24dda76717f62cb5311dac2ed9704e4126fd /cmd-find.c
parentb0c1cefeda9d11910dd4a174e82c9f57ff8bc495 (diff)
Some unused code, GitHub issue 1219.
Diffstat (limited to 'cmd-find.c')
-rw-r--r--cmd-find.c2
1 files changed, 0 insertions, 2 deletions
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);