aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/if_cscope.c
diff options
context:
space:
mode:
authorKillTheMule <KillTheMule@users.noreply.github.com>2016-04-23 22:28:32 +0200
committerKillTheMule <KillTheMule@users.noreply.github.com>2016-04-23 23:43:32 +0200
commit445f0d7eed7c96aa30780622e6ee437794529547 (patch)
tree179a4e502f9a2724962b52351b36009a9b1aa162 /src/nvim/if_cscope.c
parent3098b18a2b63a841351f6d5e3697cb69db3035ef (diff)
downloadrneovim-445f0d7eed7c96aa30780622e6ee437794529547.tar.gz
rneovim-445f0d7eed7c96aa30780622e6ee437794529547.tar.bz2
rneovim-445f0d7eed7c96aa30780622e6ee437794529547.zip
vim-patch:7.4.822
Problem: More problems reported by coverity. Solution: Avoid the warnings. (Christian Brabandt) https://github.com/vim/vim/commit/cde885473099296c4837de261833f48b24caf87c Applied manually. Files that do not exst anymore: gui.c gui_w16.c gui_w32.c if_xcmdsrv.c os_unix.c
Diffstat (limited to 'src/nvim/if_cscope.c')
-rw-r--r--src/nvim/if_cscope.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/if_cscope.c b/src/nvim/if_cscope.c
index daddd7cee4..c8bf93b546 100644
--- a/src/nvim/if_cscope.c
+++ b/src/nvim/if_cscope.c
@@ -1062,7 +1062,7 @@ static int cs_find_common(char *opt, char *pat, int forceit, int verbose,
if (qf_init(wp, tmp, (char_u *)"%f%*\\t%l%*\\t%m",
*qfpos == '-', cmdline) > 0) {
if (postponed_split != 0) {
- win_split(postponed_split > 0 ? postponed_split : 0,
+ (void)win_split(postponed_split > 0 ? postponed_split : 0,
postponed_split_flags);
RESET_BINDING(curwin);
postponed_split = 0;