updated for version 7.3.400
Problem: Compiler warnings for shadowed variables.
Solution: Remove or rename the variables.
diff --git a/src/move.c b/src/move.c
index 79df928..f922da8 100644
--- a/src/move.c
+++ b/src/move.c
@@ -926,8 +926,8 @@
* Also updates curwin->w_leftcol.
*/
void
-curs_columns(scroll)
- int scroll; /* when TRUE, may scroll horizontally */
+curs_columns(may_scroll)
+ int may_scroll; /* when TRUE, may scroll horizontally */
{
int diff;
int extra; /* offset for first screen line */
@@ -1014,7 +1014,7 @@
/* No line wrapping: compute curwin->w_leftcol if scrolling is on and line
* is not folded.
* If scrolling is off, curwin->w_leftcol is assumed to be 0 */
- else if (scroll
+ else if (may_scroll
#ifdef FEAT_FOLDING
&& !curwin->w_cline_folded
#endif