From fa263a517b5e6c11055fa8fe8517f6a3e102ccc6 Mon Sep 17 00:00:00 2001 From: Bram Moolenaar Date: Thu, 8 Dec 2011 16:00:16 +0100 Subject: [PATCH] updated for version 7.3.370 Problem: Compiler warns for unused variable in Lua interface. Solution: Remove the variable. --- src/if_lua.c | 3 +-- src/version.c | 2 ++ 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/src/if_lua.c b/src/if_lua.c index 5e669045c..0a7ba46e8 100644 --- 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; } diff --git a/src/version.c b/src/version.c index af7461a35..145a1dcba 100644 --- a/src/version.c +++ b/src/version.c @@ -714,6 +714,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 370, /**/ 369, /**/ -- 2.50.1