summaryrefslogtreecommitdiffstats
path: root/src/map.c
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 /src/map.c
parentf4b68e9056f8ddb64c3d7141df138fe099575abf (diff)
patch 8.2.0832: compiler warning for uninitialized variablev8.2.0832
Problem: Compiler warning for uninitialized variable. (Tony Mechelynck) Solution: Add initial value.
Diffstat (limited to 'src/map.c')
-rw-r--r--src/map.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map.c b/src/map.c
index 6c926336c1..4f0c8709af 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;