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/LuaTask.cc | |
parent | 9f909885184c48e3d9a5ef625b20ff61079341f5 (diff) |
Fixing a few warnings and errors.
Diffstat (limited to 'src/LuaTask.cc')
-rw-r--r-- | src/LuaTask.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/LuaTask.cc b/src/LuaTask.cc index c22cb68..0835765 100644 --- a/src/LuaTask.cc +++ b/src/LuaTask.cc @@ -52,7 +52,7 @@ void Balau::LuaMainTask::Do() { try { cell = m_queue.pop(); } - catch (Balau::EAgain & e) { + catch (Balau::EAgain &) { taskSwitch(); } Printer::elog(E_TASK, "LuaMainTask at %p popped %p", this, cell); @@ -81,7 +81,7 @@ void Balau::LuaTask::Do() { else m_cell->run(L); } - catch (EAgain & e) { + catch (EAgain &) { } catch (GeneralException & e) { m_cell->m_exception = new GeneralException(e); |