Remove nonnullret deadcode: vim_strsave.

This commit is contained in:
Eliseo Martínez
2015-01-23 14:17:33 +01:00
parent ce5b476dd9
commit d228b8a93e
6 changed files with 14 additions and 31 deletions

View File

@@ -4742,7 +4742,6 @@ void ex_help(exarg_T *eap)
tag = vim_strsave(matches[i]);
FreeWild(num_matches, matches);
/*
* Re-use an existing help window or open a new one.
* Always open a new one for ":tab help".
@@ -4805,8 +4804,7 @@ void ex_help(exarg_T *eap)
* It is needed for do_tag top open folds under the cursor. */
KeyTyped = old_KeyTyped;
if (tag != NULL)
do_tag(tag, DT_HELP, 1, FALSE, TRUE);
do_tag(tag, DT_HELP, 1, FALSE, TRUE);
/* Delete the empty buffer if we're not using it. Careful: autocommands
* may have jumped to another window, check that the buffer is not in a