summaryrefslogtreecommitdiff
path: root/src/BLua.cc
diff options
context:
space:
mode:
authorNicolas "Pixel" Noble <pixel@nobis-crew.org>2014-05-25 19:57:45 -0700
committerNicolas "Pixel" Noble <pixel@nobis-crew.org>2014-05-25 19:57:45 -0700
commit743b3f9410eee4f5bf2055c3673826ca17b5d67e (patch)
treecca98bb207bdbc5161bbae03eb8ccad2ede5472e /src/BLua.cc
parent33a580d299413277f53f432f05ea0700e05fef5d (diff)
Cleaning a few more warnings out.
Diffstat (limited to 'src/BLua.cc')
-rw-r--r--src/BLua.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/BLua.cc b/src/BLua.cc
index 8d6b3ee..fa519a9 100644
--- a/src/BLua.cc
+++ b/src/BLua.cc
@@ -296,7 +296,7 @@ int Balau::LuaStatics::callwrap(lua_State * __L, lua_CFunction func) {
L.push((void *) &s_signature);
r = L.yield(L.gettop());
}
- catch (EAgain & e) {
+ catch (EAgain &) {
L.error("The C callback from Lua has thrown an EAgain - you can't do that, you have to wrap it using Lua::yield. The application will now crash, because this task will stop, but the event in the EAgain will later try to wake it up.");
}
catch (GeneralException & e) {