# HG changeset patch # User Bram Moolenaar # Date 1323356416 -3600 # Node ID 3801e4811b0ecd56667fe89172ed37a84047307d # Parent fa8f085caa3ee9050bbfab510b52a78a74936f9e updated for version 7.3.370 Problem: Compiler warns for unused variable in Lua interface. Solution: Remove the variable. diff --git a/src/if_lua.c b/src/if_lua.c --- 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 --- a/src/version.c +++ b/src/version.c @@ -715,6 +715,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 370, +/**/ 369, /**/ 368,