diff options
author | Bram Moolenaar <bram@vim.org> | 2013-06-30 22:43:27 +0200 |
---|---|---|
committer | Bram Moolenaar <bram@vim.org> | 2013-06-30 22:43:27 +0200 |
commit | 5e73c39fcfd08ab03b639fff9d9e04c2278a4a3b (patch) | |
tree | a8be64ce6e936e0ca9bf82111209e53202e56ea6 | |
parent | edbf7eb220b97d145b82e03c86ec7c46e79f6fa7 (diff) | |
download | vim-5e73c39fcfd08ab03b639fff9d9e04c2278a4a3b.tar.gz |
Problem: Compiler warning for variable uninitialized. (Tony Mechelynck)
Solution: Add an init.
-rw-r--r-- | src/ex_getln.c | 2 | ||||
-rw-r--r-- | src/version.c | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/src/ex_getln.c b/src/ex_getln.c index 11571d19..cdd59def 100644 --- a/src/ex_getln.c +++ b/src/ex_getln.c @@ -4951,7 +4951,7 @@ call_user_expand_func(user_expand_func, xp, num_file, file) int *num_file; char_u ***file; { - char_u keep; + int keep = 0; char_u num[50]; char_u *args[3]; int save_current_SID = current_SID; diff --git a/src/version.c b/src/version.c index 077c2a43..825f0abf 100644 --- a/src/version.c +++ b/src/version.c @@ -729,6 +729,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 1279, +/**/ 1278, /**/ 1277, |