diff options
author | erw7 <erw7.github@gmail.com> | 2020-07-17 14:04:06 +0900 |
---|---|---|
committer | erw7 <erw7.github@gmail.com> | 2020-07-20 11:17:25 +0900 |
commit | bfda389c5a47e5842844471aa357728e49a97916 (patch) | |
tree | 47e3e86758639c7b5ab072f8e575c01f23350a7d /src/nvim/lua/executor.c | |
parent | a02a267f8ad4b6d8b9038d2c7d9b85f03e734814 (diff) | |
download | rneovim-bfda389c5a47e5842844471aa357728e49a97916.tar.gz rneovim-bfda389c5a47e5842844471aa357728e49a97916.tar.bz2 rneovim-bfda389c5a47e5842844471aa357728e49a97916.zip |
build: Fix build failure with CI in FreeBSD
Co-authored-by: James McCoy <jamessan@jamessan.com>
Diffstat (limited to 'src/nvim/lua/executor.c')
-rw-r--r-- | src/nvim/lua/executor.c | 2 |
1 files changed, 2 insertions, 0 deletions
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)) { |