summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorBram Moolenaar <bram@vim.org>2011-12-08 16:00:16 +0100
committerBram Moolenaar <bram@vim.org>2011-12-08 16:00:16 +0100
commit82326c2e67af43c47d83fd953b5579b00f4a63cd (patch)
treea5061181f8bafb565e236ca022dfb3278bc97db8 /src
parent3bb7b3b7cd8d847c18c064396aab25d8931e2bb5 (diff)
downloadvim-82326c2e67af43c47d83fd953b5579b00f4a63cd.tar.gz
updated for version 7.3.370v7.3.370v7-3-370
Problem: Compiler warns for unused variable in Lua interface. Solution: Remove the variable.
Diffstat (limited to 'src')
-rw-r--r--src/if_lua.c3
-rw-r--r--src/version.c2
2 files changed, 3 insertions, 2 deletions
diff --git a/src/if_lua.c b/src/if_lua.c
index 5e669045..0a7ba46e 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 af7461a3..145a1dcb 100644
--- 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,