summaryrefslogtreecommitdiff
path: root/cppe/src
diff options
context:
space:
mode:
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