From bfda389c5a47e5842844471aa357728e49a97916 Mon Sep 17 00:00:00 2001 From: erw7 Date: Fri, 17 Jul 2020 14:04:06 +0900 Subject: [PATCH] build: Fix build failure with CI in FreeBSD Co-authored-by: James McCoy --- src/nvim/lua/executor.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/nvim/lua/executor.c b/src/nvim/lua/executor.c index 9f30609d66..a39642acb9 100644 --- a/src/nvim/lua/executor.c +++ b/src/nvim/lua/executor.c @@ -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)) {