diff options
author | Nicolas "Pixel" Noble <pixel@nobis-crew.org> | 2014-05-25 00:08:10 -0700 |
---|---|---|
committer | Nicolas "Pixel" Noble <pixel@nobis-crew.org> | 2014-05-25 00:08:10 -0700 |
commit | 2bb31556caad644db0ce6d1c7dd55fcbca174e0e (patch) | |
tree | 4646eee740f5c66bbad9cffdd85bcdc35f0ab8eb /src/LuaHandle.cc | |
parent | 9f909885184c48e3d9a5ef625b20ff61079341f5 (diff) |
Fixing a few warnings and errors.
Diffstat (limited to 'src/LuaHandle.cc')
-rw-r--r-- | src/LuaHandle.cc | 3 |
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) { |