summaryrefslogtreecommitdiff
path: root/src/fold.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2012-01-10 22:26:17 +0100
committerBram Moolenaar <Bram@vim.org>2012-01-10 22:26:17 +0100
commit70b2a56d5a8fd54f3d0707fa77dea86a4bd8195f (patch)
tree2144b21b49d79de16665fb585daf1e9cf66e85c0 /src/fold.c
parent1f5965b3c4d2b29e167a5dfecdf0ec59fe4c45c0 (diff)
downloadvim-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/fold.c')
-rw-r--r--src/fold.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/fold.c b/src/fold.c
index 3b7a9597c..4d294f133 100644
--- a/src/fold.c
+++ b/src/fold.c
@@ -1033,10 +1033,10 @@ foldMoveTo(updown, dir, count)
* Init the fold info in a new window.
*/
void
-foldInitWin(newwin)
- win_T *newwin;
+foldInitWin(new_win)
+ win_T *new_win;
{
- ga_init2(&newwin->w_folds, (int)sizeof(fold_T), 10);
+ ga_init2(&new_win->w_folds, (int)sizeof(fold_T), 10);
}
/* find_wl_entry() {{{2 */