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/spell.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/spell.c')
-rw-r--r-- | src/spell.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/spell.c b/src/spell.c index f7ec0c735..f3d64e7c5 100644 --- a/src/spell.c +++ b/src/spell.c @@ -5049,7 +5049,7 @@ static int sug_filltable __ARGS((spellinfo_T *spin, wordnode_T *node, int startw static int offset2bytes __ARGS((int nr, char_u *buf)); static int bytes2offset __ARGS((char_u **pp)); static void sug_write __ARGS((spellinfo_T *spin, char_u *fname)); -static void mkspell __ARGS((int fcount, char_u **fnames, int ascii, int overwrite, int added_word)); +static void mkspell __ARGS((int fcount, char_u **fnames, int ascii, int over_write, int added_word)); static void spell_message __ARGS((spellinfo_T *spin, char_u *str)); static void init_spellfile __ARGS((void)); @@ -9085,11 +9085,11 @@ close_spellbuf(buf) * and ".spl" is appended to make the output file name. */ static void -mkspell(fcount, fnames, ascii, overwrite, added_word) +mkspell(fcount, fnames, ascii, over_write, added_word) int fcount; char_u **fnames; int ascii; /* -ascii argument given */ - int overwrite; /* overwrite existing output file */ + int over_write; /* overwrite existing output file */ int added_word; /* invoked through "zg" */ { char_u *fname = NULL; @@ -9173,7 +9173,7 @@ mkspell(fcount, fnames, ascii, overwrite, added_word) { /* Check for overwriting before doing things that may take a lot of * time. */ - if (!overwrite && mch_stat((char *)wfname, &st) >= 0) + if (!over_write && mch_stat((char *)wfname, &st) >= 0) { EMSG(_(e_exists)); goto theend; |