comparison 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
comparison
equal deleted inserted replaced
20556:822a1a857944 20557:1f08c49d8cfe
2185 char_u *rhs; 2185 char_u *rhs;
2186 int mode; 2186 int mode;
2187 int abbr = FALSE; 2187 int abbr = FALSE;
2188 int get_dict = FALSE; 2188 int get_dict = FALSE;
2189 mapblock_T *mp; 2189 mapblock_T *mp;
2190 mapblock_T *mp_simplified; 2190 mapblock_T *mp_simplified = NULL;
2191 int buffer_local; 2191 int buffer_local;
2192 int flags = REPTERM_FROM_PART | REPTERM_DO_LT; 2192 int flags = REPTERM_FROM_PART | REPTERM_DO_LT;
2193 2193
2194 // return empty string for failure 2194 // return empty string for failure
2195 rettv->v_type = VAR_STRING; 2195 rettv->v_type = VAR_STRING;