summaryrefslogtreecommitdiffstats
path: root/src/Bindings/ManualBindings.cpp
diff options
context:
space:
mode:
authormadmaxoft <github@xoft.cz>2014-01-11 20:29:56 +0100
committermadmaxoft <github@xoft.cz>2014-01-11 20:29:56 +0100
commit2634261a289a856dd0d96eaebbc68b831d982aff (patch)
tree2d95bb2f26a16b7596ff372ad7be4d98f2721b7b /src/Bindings/ManualBindings.cpp
parentFixed the warning in CryptoPP. (diff)
downloadcuberite-2634261a289a856dd0d96eaebbc68b831d982aff.tar
cuberite-2634261a289a856dd0d96eaebbc68b831d982aff.tar.gz
cuberite-2634261a289a856dd0d96eaebbc68b831d982aff.tar.bz2
cuberite-2634261a289a856dd0d96eaebbc68b831d982aff.tar.lz
cuberite-2634261a289a856dd0d96eaebbc68b831d982aff.tar.xz
cuberite-2634261a289a856dd0d96eaebbc68b831d982aff.tar.zst
cuberite-2634261a289a856dd0d96eaebbc68b831d982aff.zip
Diffstat (limited to 'src/Bindings/ManualBindings.cpp')
-rw-r--r--src/Bindings/ManualBindings.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/Bindings/ManualBindings.cpp b/src/Bindings/ManualBindings.cpp
index 344d5d2e0..f0dd00300 100644
--- a/src/Bindings/ManualBindings.cpp
+++ b/src/Bindings/ManualBindings.cpp
@@ -991,7 +991,6 @@ static int tolua_cPluginManager_GetAllPlugins(lua_State * tolua_S)
const cPluginManager::PluginMap & AllPlugins = self->GetAllPlugins();
lua_newtable(tolua_S);
- int newTable = lua_gettop(tolua_S);
int index = 1;
cPluginManager::PluginMap::const_iterator iter = AllPlugins.begin();
while (iter != AllPlugins.end())
@@ -1883,7 +1882,6 @@ static int tolua_cWebPlugin_GetTabNames(lua_State * tolua_S)
const cWebPlugin::TabNameList & TabNames = self->GetTabNames();
lua_newtable(tolua_S);
- int newTable = lua_gettop(tolua_S);
int index = 1;
cWebPlugin::TabNameList::const_iterator iter = TabNames.begin();
while(iter != TabNames.end())