summaryrefslogtreecommitdiff
path: root/plugins/MirLua
diff options
context:
space:
mode:
authorMikalaiR <nikolay.romanovich@narod.ru>2016-04-06 11:14:07 +0000
committerMikalaiR <nikolay.romanovich@narod.ru>2016-04-06 11:14:07 +0000
commit6ae018a96123e67724df6e3aa32369d1e9377dc6 (patch)
tree735a651b208836a053ac22761490dcf2f3804b30 /plugins/MirLua
parent1b0236528ceec24b16d6ce91a188b2da240f1a7d (diff)
mirlua: compilation fix
git-svn-id: http://svn.miranda-ng.org/main/trunk@16591 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/MirLua')
-rw-r--r--plugins/MirLua/src/mlua_metatable.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/plugins/MirLua/src/mlua_metatable.h b/plugins/MirLua/src/mlua_metatable.h
index 5048c39288..0946eb9caa 100644
--- a/plugins/MirLua/src/mlua_metatable.h
+++ b/plugins/MirLua/src/mlua_metatable.h
@@ -64,12 +64,13 @@ private:
*obj = (T*)lua_touserdata(L, 1);
}
- static int Index(lua_State *L, T */*obj*/)
+ static int Index(lua_State *L, T* /*obj*/)
{
lua_pushnil(L);
+ return 1;
}
- static void Free(lua_State */*L*/, T **obj)
+ static void Free(lua_State * /*L*/, T **obj)
{
*obj = NULL;
}