Some unused code, GitHub issue 1219.

This commit is contained in:
nicm
2018-01-15 15:27:03 +00:00
parent b0c1cefeda
commit 481703d669
3 changed files with 3 additions and 7 deletions

View File

@ -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);