summaryrefslogtreecommitdiff
path: root/cppe/src/IceE/Outgoing.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'cppe/src/IceE/Outgoing.cpp')
-rw-r--r--cppe/src/IceE/Outgoing.cpp18
1 files changed, 16 insertions, 2 deletions
diff --git a/cppe/src/IceE/Outgoing.cpp b/cppe/src/IceE/Outgoing.cpp
index d4c2dcbcf1c..5565c5ac4f2 100644
--- a/cppe/src/IceE/Outgoing.cpp
+++ b/cppe/src/IceE/Outgoing.cpp
@@ -58,6 +58,13 @@ IceInternal::Outgoing::Outgoing(Connection* connection, Reference* ref, const st
break;
}
#endif
+ default:
+ {
+ //
+ // TODO: Should this assert?
+ //
+ break;
+ }
}
_reference->getIdentity().__write(&_os);
@@ -230,7 +237,7 @@ IceInternal::Outgoing::invoke()
break;
}
-#ifdef ICEE_HAS_BATCH
+#ifdef ICEE_HAS_BATCH
case Reference::ModeBatchOneway:
{
//
@@ -241,8 +248,15 @@ IceInternal::Outgoing::invoke()
_state = StateInProgress;
_connection->finishBatchRequest(&_os);
break;
- }
+ }
#endif
+ default:
+ {
+ //
+ // TODO: Should this assert?
+ //
+ return false;
+ }
}
return true;