diff options
author | Bram Moolenaar <bram@vim.org> | 2013-05-11 13:45:05 +0200 |
---|---|---|
committer | Bram Moolenaar <bram@vim.org> | 2013-05-11 13:45:05 +0200 |
commit | 3d242c5e4addfb1134482e1df1c050a4b813e63e (patch) | |
tree | def07bd11c80dc5771db2a278e6d4e374e43326c | |
parent | 7e129b945670572400fe9281755c84387199e7fd (diff) | |
download | vim-3d242c5e4addfb1134482e1df1c050a4b813e63e.tar.gz |
Problem: Compiler warning for uninitialized variable. (Tony Mechelynck)
Solution: Initialize the variable.
-rw-r--r-- | src/option.c | 2 | ||||
-rw-r--r-- | src/version.c | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/src/option.c b/src/option.c index 570c5c84..cfe464c5 100644 --- a/src/option.c +++ b/src/option.c @@ -8847,7 +8847,7 @@ get_option_value_strict(name, numval, stringval, opt_type, from) void *from; { int opt_idx; - char_u *varp; + char_u *varp = NULL; struct vimoption *p; int r = 0; diff --git a/src/version.c b/src/version.c index ad255715..7c2eb6fe 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 */ /**/ + 932, +/**/ 931, /**/ 930, |