summaryrefslogtreecommitdiff
path: root/plugins/MirLua/src/Modules
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2020-10-16 19:41:47 +0300
committerGeorge Hazan <ghazan@miranda.im>2020-10-16 19:41:47 +0300
commit1aea5e768a5616d30a9568a57cc190cd96d2529c (patch)
treed604e878a84139d9a840920aef9e26cd7afe76be /plugins/MirLua/src/Modules
parent4bb9749b21edbe9d97ea16a440501f51d5be036c (diff)
warning fix
Diffstat (limited to 'plugins/MirLua/src/Modules')
-rw-r--r--plugins/MirLua/src/Modules/m_json.cpp2
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);