commit | 8f13d82fa6ac6faa1a91076e99000a8f02180e8e | [log] [tgz] |
---|---|---|
author | Bram Moolenaar <Bram@vim.org> | Sat Sep 12 21:04:23 2020 +0200 |
committer | Bram Moolenaar <Bram@vim.org> | Sat Sep 12 21:04:23 2020 +0200 |
tree | 01b6677b39a50b1d4914bf3406cb252c32c7eb88 | |
parent | b0fa5e17c587d9c71596bd10836918af713ffff6 [diff] [blame] |
patch 8.2.1670: a couple of gcc compiler warnings Problem: A couple of gcc compiler warnings. Solution: Initialize local variables. (Dominique Pellé, closes #6944)
diff --git a/src/option.c b/src/option.c index 6ebc2bd..dbb086d 100644 --- a/src/option.c +++ b/src/option.c
@@ -683,7 +683,7 @@ 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;