diff options
author | Bram Moolenaar <Bram@vim.org> | 2020-06-11 12:30:13 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2020-06-11 12:30:13 +0200 |
commit | 2d4070d3b02e775a6f3d5ef52265add270e09a4f (patch) | |
tree | 7ace970c77e331189821d8a5892e995e665793a7 /src/spell.c | |
parent | e0ebeda4d8219a8955001b43ef7a9268452ef7f5 (diff) | |
download | vim-git-2d4070d3b02e775a6f3d5ef52265add270e09a4f.tar.gz |
patch 8.2.0957: compiler warning for uninitialized variablev8.2.0957
Problem: Compiler warning for uninitialized variable. (Tony Mechelynck)
Solution: Initialize one variable.
Diffstat (limited to 'src/spell.c')
-rw-r--r-- | src/spell.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/spell.c b/src/spell.c index 8558d3908..b3d9b0a3c 100644 --- a/src/spell.c +++ b/src/spell.c @@ -207,7 +207,7 @@ spell_check( if (spell_iswordp(mi.mi_fend, wp)) { int prev_upper; - int this_upper; + int this_upper = FALSE; // init for gcc if (use_camel_case) { |