diff options
author | Bram Moolenaar <Bram@vim.org> | 2020-05-27 21:29:04 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2020-05-27 21:29:04 +0200 |
commit | a55ba06f6904af3d6a78fc90358cf72d4f2e8450 (patch) | |
tree | 59e26ab69eed88f91431a7bb50a5902f3023b5a7 | |
parent | f4b68e9056f8ddb64c3d7141df138fe099575abf (diff) | |
download | vim-git-a55ba06f6904af3d6a78fc90358cf72d4f2e8450.tar.gz |
patch 8.2.0832: compiler warning for uninitialized variablev8.2.0832
Problem: Compiler warning for uninitialized variable. (Tony Mechelynck)
Solution: Add initial value.
-rw-r--r-- | src/map.c | 2 | ||||
-rw-r--r-- | src/version.c | 2 |
2 files changed, 3 insertions, 1 deletions
@@ -2187,7 +2187,7 @@ get_maparg(typval_T *argvars, typval_T *rettv, int exact) int abbr = FALSE; int get_dict = FALSE; mapblock_T *mp; - mapblock_T *mp_simplified; + mapblock_T *mp_simplified = NULL; int buffer_local; int flags = REPTERM_FROM_PART | REPTERM_DO_LT; diff --git a/src/version.c b/src/version.c index f939822cd..463025c97 100644 --- a/src/version.c +++ b/src/version.c @@ -747,6 +747,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 832, +/**/ 831, /**/ 830, |