summaryrefslogtreecommitdiff
path: root/cpp/src/Ice/Reference.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/src/Ice/Reference.cpp')
-rw-r--r--cpp/src/Ice/Reference.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/cpp/src/Ice/Reference.cpp b/cpp/src/Ice/Reference.cpp
index 7c58f93e5f9..520da18227b 100644
--- a/cpp/src/Ice/Reference.cpp
+++ b/cpp/src/Ice/Reference.cpp
@@ -499,6 +499,9 @@ string
IceInternal::FixedReference::toString() const
{
throw MarshalException(__FILE__, __LINE__, "Cannot marshal a fixed proxy");
+
+ assert(false); // Cannot be reached.
+ return string(); // To keep the compiler from complaining.
}
ConnectionIPtr