changeset 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 822a1a857944
children d806117ad769
files src/map.c src/version.c
diffstat 2 files changed, 3 insertions(+), 1 deletions(-) [+]
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;
 
--- 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,