Patch 8.2.0781

9 views
Skip to first unread message

Bram Moolenaar

unread,
May 17, 2020, 10:54:30 AM5/17/20
to vim...@googlegroups.com

Patch 8.2.0781 (after 8.2.0775)
Problem: Compiler warning for not using value in Lua.
Solution: Add "(void)".
Files: src/if_lua.c


*** ../vim-8.2.0780/src/if_lua.c 2020-05-17 14:32:30.584490790 +0200
--- src/if_lua.c 2020-05-17 16:51:50.098145273 +0200
***************
*** 2124,2130 ****
luaV_openlib(L, luaV_module, 1);
lua_setglobal(L, LUAVIM_NAME);
// custom code
! luaL_dostring(L, LUA_VIM_FN_CODE);
return 0;
}

--- 2124,2130 ----
luaV_openlib(L, luaV_module, 1);
lua_setglobal(L, LUAVIM_NAME);
// custom code
! (void)luaL_dostring(L, LUA_VIM_FN_CODE);
return 0;
}

*** ../vim-8.2.0780/src/version.c 2020-05-17 16:28:47.091869380 +0200
--- src/version.c 2020-05-17 16:53:13.929844498 +0200
***************
*** 748,749 ****
--- 748,751 ----
{ /* Add new patch number below this line */
+ /**/
+ 781,
/**/

--
"A clear conscience is usually the sign of a bad memory."
-- Steven Wright

/// Bram Moolenaar -- Br...@Moolenaar.net -- http://www.Moolenaar.net \\\
/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\ an exciting new programming language -- http://www.Zimbu.org ///
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
Reply all
Reply to author
Forward
0 new messages