summaryrefslogtreecommitdiff
path: root/cppe/src/IceE/Outgoing.cpp
diff options
context:
space:
mode:
authorDwayne Boone <dwayne@zeroc.com>2005-07-28 16:03:19 +0000
committerDwayne Boone <dwayne@zeroc.com>2005-07-28 16:03:19 +0000
commitef3230f9a7e38dfe90c875656d05d93ce5c63721 (patch)
tree898c17759f6dd646ba1cd7ac6374cfb945ce330f /cppe/src/IceE/Outgoing.cpp
parentadding JAD file task def and fixing demo MIDlet build (diff)
downloadice-ef3230f9a7e38dfe90c875656d05d93ce5c63721.tar.bz2
ice-ef3230f9a7e38dfe90c875656d05d93ce5c63721.tar.xz
ice-ef3230f9a7e38dfe90c875656d05d93ce5c63721.zip
Fix compiler warnings
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;