diff src/map.c @ 20557:1f08c49d8cfe v8.2.0832

patch 8.2.0832: compiler warning for uninitialized variable Commit: https://github.com/vim/vim/commit/a55ba06f6904af3d6a78fc90358cf72d4f2e8450 Author: Bram Moolenaar <Bram@vim.org> Date: Wed May 27 21:29:04 2020 +0200 patch 8.2.0832: compiler warning for uninitialized variable Problem: Compiler warning for uninitialized variable. (Tony Mechelynck) Solution: Add initial value.
author Bram Moolenaar <Bram@vim.org>
date Wed, 27 May 2020 21:30:05 +0200
parents 729853a754ea
children 3af71cbcfdbe
line wrap: on
line diff
--- a/src/map.c
+++ b/src/map.c
@@ -2187,7 +2187,7 @@ get_maparg(typval_T *argvars, typval_T *
     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;