From cde885473099296c4837de261833f48b24caf87c Mon Sep 17 00:00:00 2001 From: Bram Moolenaar Date: Tue, 11 Aug 2015 19:14:00 +0200 Subject: patch 7.4.822 Problem: More problems reported by coverity. Solution: Avoid the warnings. (Christian Brabandt) --- src/move.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/move.c') diff --git a/src/move.c b/src/move.c index 026941238..0242fefa6 100644 --- a/src/move.c +++ b/src/move.c @@ -1512,7 +1512,7 @@ scrolldown_clamp() --curwin->w_topline; #endif #ifdef FEAT_FOLDING - hasFolding(curwin->w_topline, &curwin->w_topline, NULL); + (void)hasFolding(curwin->w_topline, &curwin->w_topline, NULL); #endif --curwin->w_botline; /* approximate w_botline */ curwin->w_valid &= ~(VALID_WROW|VALID_CROW|VALID_BOTLINE); -- cgit v1.2.1