]> granicus.if.org Git - vim/commitdiff
updated for version 7.3.370 v7.3.370
authorBram Moolenaar <Bram@vim.org>
Thu, 8 Dec 2011 15:00:16 +0000 (16:00 +0100)
committerBram Moolenaar <Bram@vim.org>
Thu, 8 Dec 2011 15:00:16 +0000 (16:00 +0100)
Problem:    Compiler warns for unused variable in Lua interface.
Solution:   Remove the variable.

src/if_lua.c
src/version.c

index 5e669045c04715c80fa6ce51e0368b70afb36211..0a7ba46e86ee9ba26fe1d60f86db462e2ef7db10 100644 (file)
@@ -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;
 }
 
index af7461a35e62f10c4b671bfc0a19a7119a7a7d0d..145a1dcba9607843bbf3197f633835e22ee0f1ac 100644 (file)
@@ -714,6 +714,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    370,
 /**/
     369,
 /**/