diff options
author | Bram Moolenaar <Bram@vim.org> | 2012-01-10 22:26:17 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2012-01-10 22:26:17 +0100 |
commit | 70b2a56d5a8fd54f3d0707fa77dea86a4bd8195f (patch) | |
tree | 2144b21b49d79de16665fb585daf1e9cf66e85c0 /src/option.c | |
parent | 1f5965b3c4d2b29e167a5dfecdf0ec59fe4c45c0 (diff) | |
download | vim-git-70b2a56d5a8fd54f3d0707fa77dea86a4bd8195f.tar.gz |
updated for version 7.3.400v7.3.400
Problem: Compiler warnings for shadowed variables.
Solution: Remove or rename the variables.
Diffstat (limited to 'src/option.c')
-rw-r--r-- | src/option.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/option.c b/src/option.c index f6ed2d370..60956d785 100644 --- a/src/option.c +++ b/src/option.c @@ -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); |