diff options
author | Eliseo Martínez <eliseomarmol@gmail.com> | 2015-01-23 14:17:33 +0100 |
---|---|---|
committer | Eliseo Martínez <eliseomarmol@gmail.com> | 2015-01-27 01:33:33 +0100 |
commit | d228b8a93e8586c36c1b1aa71d0d3dc8c52f137e (patch) | |
tree | 9f80f79c3a783c7ebdf6e94c659532626ff1aed5 /src/nvim/ex_cmds.c | |
parent | ce5b476dd9aeb7c2b5094ca517ba76abe7e70a00 (diff) | |
download | rneovim-d228b8a93e8586c36c1b1aa71d0d3dc8c52f137e.tar.gz rneovim-d228b8a93e8586c36c1b1aa71d0d3dc8c52f137e.tar.bz2 rneovim-d228b8a93e8586c36c1b1aa71d0d3dc8c52f137e.zip |
Remove nonnullret deadcode: vim_strsave.
Diffstat (limited to 'src/nvim/ex_cmds.c')
-rw-r--r-- | src/nvim/ex_cmds.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/nvim/ex_cmds.c b/src/nvim/ex_cmds.c index b1a7044565..3143363af6 100644 --- a/src/nvim/ex_cmds.c +++ b/src/nvim/ex_cmds.c @@ -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 |