summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2020-05-27 21:29:04 +0200
committerBram Moolenaar <Bram@vim.org>2020-05-27 21:29:04 +0200
commita55ba06f6904af3d6a78fc90358cf72d4f2e8450 (patch)
tree59e26ab69eed88f91431a7bb50a5902f3023b5a7
parentf4b68e9056f8ddb64c3d7141df138fe099575abf (diff)
downloadvim-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.c2
-rw-r--r--src/version.c2
2 files changed, 3 insertions, 1 deletions
diff --git a/src/map.c b/src/map.c
index 6c926336c..4f0c8709a 100644
--- a/src/map.c
+++ b/src/map.c
@@ -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,