summaryrefslogtreecommitdiff
path: root/cppe/src
diff options
context:
space:
mode:
authorDwayne Boone <dwayne@zeroc.com>2005-08-30 15:26:23 +0000
committerDwayne Boone <dwayne@zeroc.com>2005-08-30 15:26:23 +0000
commit4a69cbe79711165a15523d1fdef8301fb1442c15 (patch)
tree9e747571195d991dac971f809d5cafb0f0eb36e2 /cppe/src
parentMore work on IceGrid patching. (diff)
downloadice-4a69cbe79711165a15523d1fdef8301fb1442c15.tar.bz2
ice-4a69cbe79711165a15523d1fdef8301fb1442c15.tar.xz
ice-4a69cbe79711165a15523d1fdef8301fb1442c15.zip
Fixed couiple of gcc compiler warnings
Diffstat (limited to 'cppe/src')
-rw-r--r--cppe/src/IceE/Outgoing.cpp4
-rw-r--r--cppe/src/IceE/ReferenceFactory.cpp2
2 files changed, 4 insertions, 2 deletions
diff --git a/cppe/src/IceE/Outgoing.cpp b/cppe/src/IceE/Outgoing.cpp
index e840ac2df25..95be783113c 100644
--- a/cppe/src/IceE/Outgoing.cpp
+++ b/cppe/src/IceE/Outgoing.cpp
@@ -51,8 +51,8 @@ IceInternal::Outgoing::Outgoing(Connection* connection, Reference* ref, const st
break;
}
-#ifdef ICEE_HAS_BATCH
case Reference::ModeBatchOneway:
+#ifdef ICEE_HAS_BATCH
{
_connection->prepareBatchRequest(&_os);
break;
@@ -236,8 +236,8 @@ IceInternal::Outgoing::invoke()
break;
}
-#ifdef ICEE_HAS_BATCH
case Reference::ModeBatchOneway:
+#ifdef ICEE_HAS_BATCH
{
//
// For batch oneways, the same rules as for
diff --git a/cppe/src/IceE/ReferenceFactory.cpp b/cppe/src/IceE/ReferenceFactory.cpp
index e958257edeb..8be846b2f01 100644
--- a/cppe/src/IceE/ReferenceFactory.cpp
+++ b/cppe/src/IceE/ReferenceFactory.cpp
@@ -548,6 +548,8 @@ IceInternal::ReferenceFactory::create(const string& str)
throw ex;
}
}
+
+ return 0; // Unreachable, fixes compiler warning.
}
ReferencePtr