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 -- [email protected] -- 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 ///
--
--
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php
---
You received this message because you are subscribed to the Google Groups
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/vim_dev/202005171454.04HEsNZ6016589%40masaka.moolenaar.net.