diff options
author | dundargoc <33953936+dundargoc@users.noreply.github.com> | 2021-10-09 01:05:26 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-10-08 16:05:26 -0700 |
commit | 1e876bd9a8290b6abfdd2c4e52f2f9f930af3464 (patch) | |
tree | 2f2aad92aeeb0ed83df13bfe5aa675a4d9396345 /src/mpack/lmpack.c | |
parent | 4f4dbfe81c27eab661ca9bb83d1c559c213d77f4 (diff) | |
download | rneovim-1e876bd9a8290b6abfdd2c4e52f2f9f930af3464.tar.gz rneovim-1e876bd9a8290b6abfdd2c4e52f2f9f930af3464.tar.bz2 rneovim-1e876bd9a8290b6abfdd2c4e52f2f9f930af3464.zip |
fix(mpack): clang warning: unused variable #15968
Diffstat (limited to 'src/mpack/lmpack.c')
-rw-r--r-- | src/mpack/lmpack.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mpack/lmpack.c b/src/mpack/lmpack.c index 2d6131d7cb..24d27fd17a 100644 --- a/src/mpack/lmpack.c +++ b/src/mpack/lmpack.c @@ -204,14 +204,14 @@ static void lmpack_pushnil(lua_State *L) static mpack_uint32_t lmpack_objlen(lua_State *L, int *is_array) { size_t len, max; - int isarr, type; + int isarr; lua_Number n; #ifndef NDEBUG int top = lua_gettop(L); assert(top); #endif - if ((type = lua_type(L, -1)) != LUA_TTABLE) { + if ((lua_type(L, -1)) != LUA_TTABLE) { #if LUA_VERSION_NUM >= 502 len = lua_rawlen(L, -1); #elif LUA_VERSION_NUM == 501 |