diff options
author | Bram Moolenaar <Bram@vim.org> | 2020-09-12 21:04:23 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2020-09-12 21:04:23 +0200 |
commit | 8f13d82fa6ac6faa1a91076e99000a8f02180e8e (patch) | |
tree | 01b6677b39a50b1d4914bf3406cb252c32c7eb88 /src/option.c | |
parent | b0fa5e17c587d9c71596bd10836918af713ffff6 (diff) | |
download | vim-git-8f13d82fa6ac6faa1a91076e99000a8f02180e8e.tar.gz |
patch 8.2.1670: a couple of gcc compiler warningsv8.2.1670
Problem: A couple of gcc compiler warnings.
Solution: Initialize local variables. (Dominique Pellé, closes #6944)
Diffstat (limited to 'src/option.c')
-rw-r--r-- | src/option.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/option.c b/src/option.c index 6ebc2bd9b..dbb086df1 100644 --- a/src/option.c +++ b/src/option.c @@ -683,7 +683,7 @@ set_string_default(char *name, char_u *val) static char_u * find_dup_item(char_u *origval, char_u *newval, long_u flags) { - int bs; + int bs = 0; size_t newlen; char_u *s; |