summaryrefslogtreecommitdiff
path: root/src/LuaHandle.cc
diff options
context:
space:
mode:
authorNicolas "Pixel" Noble <pixel@nobis-crew.org>2014-05-25 00:08:10 -0700
committerNicolas "Pixel" Noble <pixel@nobis-crew.org>2014-05-25 00:08:10 -0700
commit2bb31556caad644db0ce6d1c7dd55fcbca174e0e (patch)
tree4646eee740f5c66bbad9cffdd85bcdc35f0ab8eb /src/LuaHandle.cc
parent9f909885184c48e3d9a5ef625b20ff61079341f5 (diff)
Fixing a few warnings and errors.
Diffstat (limited to 'src/LuaHandle.cc')
-rw-r--r--src/LuaHandle.cc3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/LuaHandle.cc b/src/LuaHandle.cc
index de9e7e2..67a1496 100644
--- a/src/LuaHandle.cc
+++ b/src/LuaHandle.cc
@@ -262,7 +262,6 @@ int sLua_IOInput::IOInput_proceed_static(Balau::Lua & L, int n, int caller) {
}
int sLua_IOInput::IOInput_proceed(Balau::Lua & L, int n, IOInput * obj, int caller) {
- int r;
Balau::IO<Balau::Input> h = *obj;
switch (caller) {
@@ -271,7 +270,7 @@ int sLua_IOInput::IOInput_proceed(Balau::Lua & L, int n, IOInput * obj, int call
break;
}
- return r;
+ return 0;
}
void Balau::LuaInputFactory::pushStatics(Balau::Lua & L) {