# HG changeset patch # User Bram Moolenaar # Date 1589727603 -7200 # Node ID 070c8a22261d61e0112116fe7db90d27dc814f2f # Parent 5ac4138fbaa6f7b5179eddee1cf2e701855de29d patch 8.2.0781: compiler warning for not using value in Lua Commit: https://github.com/vim/vim/commit/9309eb2f28e6ee346c2a5deaa6f9c2b36578522e Author: Bram Moolenaar Date: Sun May 17 16:53:56 2020 +0200 patch 8.2.0781: compiler warning for not using value in Lua Problem: Compiler warning for not using value in Lua. Solution: Add "(void)". diff --git a/src/if_lua.c b/src/if_lua.c --- a/src/if_lua.c +++ b/src/if_lua.c @@ -2124,7 +2124,7 @@ luaopen_vim(lua_State *L) luaV_openlib(L, luaV_module, 1); lua_setglobal(L, LUAVIM_NAME); // custom code - luaL_dostring(L, LUA_VIM_FN_CODE); + (void)luaL_dostring(L, LUA_VIM_FN_CODE); return 0; } diff --git a/src/version.c b/src/version.c --- 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 */ /**/ + 781, +/**/ 780, /**/ 779,