# HG changeset patch # User Bram Moolenaar # Date 1593718203 -7200 # Node ID 985e61894bb4f03687d98c73439237cd03073412 # Parent 42bf2c3c9fee68d493fc5f205248419c459a5128 patch 8.2.1117: Coverity warns for unsing unitialized field Commit: https://github.com/vim/vim/commit/a9a8e5f0dc22aaa9e53578b5b2d7569279e6cb94 Author: Bram Moolenaar Date: Thu Jul 2 21:17:57 2020 +0200 patch 8.2.1117: Coverity warns for unsing unitialized field Problem: Coverity warns for unsing unitialized field. Solution: Initialize v_lock. diff --git a/src/if_lua.c b/src/if_lua.c --- a/src/if_lua.c +++ b/src/if_lua.c @@ -576,6 +576,8 @@ luaV_totypval(lua_State *L, int pos, typ { int status = OK; + tv->v_lock = 0; + switch (lua_type(L, pos)) { case LUA_TBOOLEAN: diff --git a/src/version.c b/src/version.c --- a/src/version.c +++ b/src/version.c @@ -755,6 +755,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 1117, +/**/ 1116, /**/ 1115,