diff options
author | George Hazan <ghazan@miranda.im> | 2020-10-16 19:41:47 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2020-10-16 19:41:47 +0300 |
commit | 1aea5e768a5616d30a9568a57cc190cd96d2529c (patch) | |
tree | d604e878a84139d9a840920aef9e26cd7afe76be /plugins/MirLua/src/Modules | |
parent | 4bb9749b21edbe9d97ea16a440501f51d5be036c (diff) |
warning fix
Diffstat (limited to 'plugins/MirLua/src/Modules')
-rw-r--r-- | plugins/MirLua/src/Modules/m_json.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/MirLua/src/Modules/m_json.cpp b/plugins/MirLua/src/Modules/m_json.cpp index db45f77065..35a6eb1ba9 100644 --- a/plugins/MirLua/src/Modules/m_json.cpp +++ b/plugins/MirLua/src/Modules/m_json.cpp @@ -168,7 +168,7 @@ static int json__pairsIterator(lua_State *L) static int json__pairs(lua_State *L) { - JSONNode *node = *(JSONNode**)luaL_checkudata(L, 1, MT_JSON); + luaL_checkudata(L, 1, MT_JSON); lua_pushinteger(L, 0); lua_pushcclosure(L, json__pairsIterator, 1); |