diff options
| author | Justin M. Keyes <justinkz@gmail.com> | 2019-01-03 00:44:36 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-01-03 00:44:36 +0100 |
| commit | 0afb5fa70aa6b5bc1b007aca5309a5bafd63d868 (patch) | |
| tree | 4c28823971a9411f1fccac4eacd7743bb745f51d /src/nvim/spellfile.c | |
| parent | 9f19e8d29dcece387d0aec1dc8c96995276ba61f (diff) | |
| parent | 7ede14d191b1220ac872a24433825997d62ff7ec (diff) | |
| download | rneovim-0afb5fa70aa6b5bc1b007aca5309a5bafd63d868.tar.gz rneovim-0afb5fa70aa6b5bc1b007aca5309a5bafd63d868.tar.bz2 rneovim-0afb5fa70aa6b5bc1b007aca5309a5bafd63d868.zip | |
Merge #9425 'build: enable -Wshadow'
Diffstat (limited to 'src/nvim/spellfile.c')
| -rw-r--r-- | src/nvim/spellfile.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/nvim/spellfile.c b/src/nvim/spellfile.c index 8be8d24b9f..7a6f2fce39 100644 --- a/src/nvim/spellfile.c +++ b/src/nvim/spellfile.c @@ -4311,8 +4311,8 @@ static int write_vim_spell(spellinfo_T *spin, char_u *fname) qsort(gap->ga_data, (size_t)gap->ga_len, sizeof(fromto_T), rep_compare); - int i = round == 1 ? SN_REP : (round == 2 ? SN_SAL : SN_REPSAL); - putc(i, fd); // <sectionID> + int sect_id = round == 1 ? SN_REP : (round == 2 ? SN_SAL : SN_REPSAL); + putc(sect_id, fd); // <sectionID> // This is for making suggestions, section is not required. putc(0, fd); // <sectionflags> |