diff options
author | Justin M. Keyes <justinkz@gmail.com> | 2015-01-26 21:08:52 -0500 |
---|---|---|
committer | Justin M. Keyes <justinkz@gmail.com> | 2015-01-26 21:08:52 -0500 |
commit | 6bc8c7be3a808f66d2c47bfe463a1346490da7f4 (patch) | |
tree | 80d0fde12c759fa9e64e40fae2c2bcad13591398 /src/nvim/ex_cmds.c | |
parent | 75a1006a20c5be7add44ed709ad34ae9fb3fce7b (diff) | |
parent | 5deb06597ce72470a5cc86d4f52ee9b025288228 (diff) | |
download | rneovim-6bc8c7be3a808f66d2c47bfe463a1346490da7f4.tar.gz rneovim-6bc8c7be3a808f66d2c47bfe463a1346490da7f4.tar.bz2 rneovim-6bc8c7be3a808f66d2c47bfe463a1346490da7f4.zip |
Merge pull request #1867 from elmart/nonnull-deadcode
Remove deadcode due to nonnullret funcs.
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 |