From: Bram Moolenaar Date: Wed, 27 May 2020 19:29:04 +0000 (+0200) Subject: patch 8.2.0832: compiler warning for uninitialized variable X-Git-Tag: v8.2.0832 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a55ba06f6904af3d6a78fc90358cf72d4f2e8450;p=thirdparty%2Fvim.git patch 8.2.0832: compiler warning for uninitialized variable Problem: Compiler warning for uninitialized variable. (Tony Mechelynck) Solution: Add initial value. --- 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; diff --git a/src/version.c b/src/version.c index f939822cd1..463025c97c 100644 --- a/src/version.c +++ b/src/version.c @@ -746,6 +746,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 832, /**/ 831, /**/