comparison src/move.c @ 7009:286fd54c7ae3 v7.4.822

patch 7.4.822 Problem: More problems reported by coverity. Solution: Avoid the warnings. (Christian Brabandt)
author Bram Moolenaar <bram@vim.org>
date Tue, 11 Aug 2015 19:14:00 +0200
parents 97cc4ee3e095
children ad4c039349f6
comparison
equal deleted inserted replaced
7008:7ce1f4e998bb 7009:286fd54c7ae3
1510 } 1510 }
1511 #else 1511 #else
1512 --curwin->w_topline; 1512 --curwin->w_topline;
1513 #endif 1513 #endif
1514 #ifdef FEAT_FOLDING 1514 #ifdef FEAT_FOLDING
1515 hasFolding(curwin->w_topline, &curwin->w_topline, NULL); 1515 (void)hasFolding(curwin->w_topline, &curwin->w_topline, NULL);
1516 #endif 1516 #endif
1517 --curwin->w_botline; /* approximate w_botline */ 1517 --curwin->w_botline; /* approximate w_botline */
1518 curwin->w_valid &= ~(VALID_WROW|VALID_CROW|VALID_BOTLINE); 1518 curwin->w_valid &= ~(VALID_WROW|VALID_CROW|VALID_BOTLINE);
1519 } 1519 }
1520 } 1520 }