1
0
forked from aniani/vim

updated for version 7.3.400

Problem:    Compiler warnings for shadowed variables.
Solution:   Remove or rename the variables.
This commit is contained in:
Bram Moolenaar
2012-01-10 22:26:17 +01:00
parent 1f5965b3c4
commit 70b2a56d5a
19 changed files with 167 additions and 162 deletions

View File

@@ -8584,8 +8584,8 @@ check_redraw(flags)
long_u flags;
{
/* Careful: P_RCLR and P_RALL are a combination of other P_ flags */
int clear = (flags & P_RCLR) == P_RCLR;
int all = ((flags & P_RALL) == P_RALL || clear);
int doclear = (flags & P_RCLR) == P_RCLR;
int all = ((flags & P_RALL) == P_RALL || doclear);
#ifdef FEAT_WINDOWS
if ((flags & P_RSTAT) || all) /* mark all status lines dirty */
@@ -8596,7 +8596,7 @@ check_redraw(flags)
changed_window_setting();
if (flags & P_RBUF)
redraw_curbuf_later(NOT_VALID);
if (clear)
if (doclear)
redraw_all_later(CLEAR);
else if (all)
redraw_all_later(NOT_VALID);