summaryrefslogtreecommitdiff
path: root/src/gui.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2015-08-11 19:14:00 +0200
committerBram Moolenaar <Bram@vim.org>2015-08-11 19:14:00 +0200
commitcde885473099296c4837de261833f48b24caf87c (patch)
tree7864f4147f9c3b57a77b649c7d14e8ad31cafa6c /src/gui.c
parentbd8539aac385d265d41da2e8ab59d7b9c3694557 (diff)
downloadvim-git-cde885473099296c4837de261833f48b24caf87c.tar.gz
patch 7.4.822v7.4.822
Problem: More problems reported by coverity. Solution: Avoid the warnings. (Christian Brabandt)
Diffstat (limited to 'src/gui.c')
-rw-r--r--src/gui.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui.c b/src/gui.c
index 5516d9607..fc2981c6c 100644
--- a/src/gui.c
+++ b/src/gui.c
@@ -1575,7 +1575,7 @@ gui_set_shellsize(mustset, fit_to_display, direction)
base_height = gui_get_base_height();
if (fit_to_display)
/* Remember the original window position. */
- gui_mch_get_winpos(&x, &y);
+ (void)gui_mch_get_winpos(&x, &y);
#ifdef USE_SUN_WORKSHOP
if (!mustset && usingSunWorkShop
@@ -5366,7 +5366,7 @@ gui_do_findrepl(flags, find_text, repl_text, down)
{
/* Search for the next match. */
i = msg_scroll;
- do_search(NULL, down ? '/' : '?', ga.ga_data, 1L,
+ (void)do_search(NULL, down ? '/' : '?', ga.ga_data, 1L,
SEARCH_MSG + SEARCH_MARK, NULL);
msg_scroll = i; /* don't let an error message set msg_scroll */
}