To: vim_dev@googlegroups.com Subject: Patch 8.2.0781 Fcc: outbox From: Bram Moolenaar Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ------------ 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 -- Bram@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 ///