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 /src/map.c | |
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.
Diffstat (limited to 'src/map.c')
-rw-r--r-- | src/map.c | 2 |
1 files changed, 1 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; |