mirror of
https://github.com/neovim/neovim.git
synced 2025-02-25 18:55:25 -06:00
build: Fix build failure with CI in FreeBSD
Co-authored-by: James McCoy <jamessan@jamessan.com>
This commit is contained in:
parent
a02a267f8a
commit
bfda389c5a
@ -1405,7 +1405,9 @@ char_u *nlua_register_table_as_callable(typval_T *const arg)
|
||||
|
||||
lua_State *const lstate = nlua_enter();
|
||||
|
||||
#ifndef NDEBUG
|
||||
int top = lua_gettop(lstate);
|
||||
#endif
|
||||
|
||||
nlua_pushref(lstate, table_ref);
|
||||
if (!lua_getmetatable(lstate, -1)) {
|
||||
|
Loading…
Reference in New Issue
Block a user