diff src/if_lua.c @ 3200:3801e4811b0e v7.3.370

updated for version 7.3.370 Problem: Compiler warns for unused variable in Lua interface. Solution: Remove the variable.
author Bram Moolenaar <bram@vim.org>
date Thu, 08 Dec 2011 16:00:16 +0100
parents 92a181a1cec3
children b067b8b81be9
line wrap: on
line diff
--- a/src/if_lua.c
+++ b/src/if_lua.c
@@ -1044,13 +1044,12 @@ luaV_window(lua_State *L)
     static int
 luaV_open(lua_State *L)
 {
-    luaV_Buffer *b;
     char_u *s = NULL;
 #ifdef HAVE_SANDBOX
     luaV_checksandbox(L);
 #endif
     if (lua_isstring(L, 1)) s = (char_u *) lua_tostring(L, 1);
-    b = luaV_pushbuffer(L, buflist_new(s, NULL, 1L, BLN_LISTED));
+    luaV_pushbuffer(L, buflist_new(s, NULL, 1L, BLN_LISTED));
     return 1;
 }