mirror of
https://github.com/vim/vim.git
synced 2025-09-24 03:44:06 -04:00
patch 7.4.822
Problem: More problems reported by coverity. Solution: Avoid the warnings. (Christian Brabandt)
This commit is contained in:
@@ -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);
|
||||
|
Reference in New Issue
Block a user