mirror of
https://github.com/neovim/neovim.git
synced 2024-12-26 14:11:15 -07:00
Merge pull request #12653 from erw7/fix-build-freebsd-ci
build: Fix build failure with CI in FreeBSD
This commit is contained in:
commit
409a1dcdc6
@ -1405,7 +1405,9 @@ char_u *nlua_register_table_as_callable(typval_T *const arg)
|
|||||||
|
|
||||||
lua_State *const lstate = nlua_enter();
|
lua_State *const lstate = nlua_enter();
|
||||||
|
|
||||||
|
#ifndef NDEBUG
|
||||||
int top = lua_gettop(lstate);
|
int top = lua_gettop(lstate);
|
||||||
|
#endif
|
||||||
|
|
||||||
nlua_pushref(lstate, table_ref);
|
nlua_pushref(lstate, table_ref);
|
||||||
if (!lua_getmetatable(lstate, -1)) {
|
if (!lua_getmetatable(lstate, -1)) {
|
||||||
|
Loading…
Reference in New Issue
Block a user