summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicolas 'Pixel' Noble <pixel@nobis-crew.org>2013-01-20 22:51:53 -0800
committerNicolas 'Pixel' Noble <pixel@nobis-crew.org>2013-01-20 22:51:53 -0800
commitc4882ea5aae8b1ad0fce85e19844a1c2ef97aa28 (patch)
tree34e4c1433cd27fbbb1a9ba106deaf0f585e1afd1
parent2ea5084aad6039b499de85de248247bc0c73a84d (diff)
Adding an assert in for that case...
-rw-r--r--src/Input.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/Input.cc b/src/Input.cc
index ae22109..b83a1be 100644
--- a/src/Input.cc
+++ b/src/Input.cc
@@ -258,7 +258,6 @@ ssize_t Balau::Input::read(void * buf, size_t count) throw (GeneralException) {
delete cbResults;
m_pendingOp = NULL;
return result;
- break;
default:
AAssert(false, "Don't switch operations while one is still not complete.");
}
@@ -274,6 +273,8 @@ ssize_t Balau::Input::read(void * buf, size_t count) throw (GeneralException) {
m_pendingOp = NULL;
throw;
}
+
+ IAssert(false, "Shouldn't end up there.");
}
bool Balau::Input::isClosed() {