0
0
mirror of https://github.com/vim/vim.git synced 2025-07-25 10:54:51 -04:00

updated for version 7.3.370

Problem:    Compiler warns for unused variable in Lua interface.
Solution:   Remove the variable.
This commit is contained in:
Bram Moolenaar 2011-12-08 16:00:16 +01:00
parent f4120a8964
commit fa263a517b
2 changed files with 3 additions and 2 deletions

View File

@ -1044,13 +1044,12 @@ luaV_window(lua_State *L)
static int static int
luaV_open(lua_State *L) luaV_open(lua_State *L)
{ {
luaV_Buffer *b;
char_u *s = NULL; char_u *s = NULL;
#ifdef HAVE_SANDBOX #ifdef HAVE_SANDBOX
luaV_checksandbox(L); luaV_checksandbox(L);
#endif #endif
if (lua_isstring(L, 1)) s = (char_u *) lua_tostring(L, 1); 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; return 1;
} }

View File

@ -714,6 +714,8 @@ static char *(features[]) =
static int included_patches[] = static int included_patches[] =
{ /* Add new patch number below this line */ { /* Add new patch number below this line */
/**/
370,
/**/ /**/
369, 369,
/**/ /**/