diff options
Diffstat (limited to 'cppe/src/IceE/ReferenceFactory.cpp')
-rw-r--r-- | cppe/src/IceE/ReferenceFactory.cpp | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/cppe/src/IceE/ReferenceFactory.cpp b/cppe/src/IceE/ReferenceFactory.cpp index 6228974ee66..5edbea40b77 100644 --- a/cppe/src/IceE/ReferenceFactory.cpp +++ b/cppe/src/IceE/ReferenceFactory.cpp @@ -580,7 +580,7 @@ IceInternal::ReferenceFactory::create(const Identity& ident, BasicStream* s) { if(facetPath.size() > 1) { - throw ProxyUnmarshalException(__FILE__, __LINE__); + throwProxyUnmarshalException(__FILE__, __LINE__); } facet.swap(facetPath[0]); } @@ -590,7 +590,7 @@ IceInternal::ReferenceFactory::create(const Identity& ident, BasicStream* s) Reference::Mode mode = static_cast<Reference::Mode>(modeAsByte); if(mode < 0 || mode > Reference::ModeLast) { - throw ProxyUnmarshalException(__FILE__, __LINE__); + throwProxyUnmarshalException(__FILE__, __LINE__); } vector<EndpointPtr> endpoints; @@ -632,7 +632,8 @@ IceInternal::ReferenceFactory::create(const Identity& ident, BasicStream* s) return create(ident, facet, mode, secure, adapterId, locatorInfo); # endif #else - throw ProxyUnmarshalException(__FILE__, __LINE__); + throwProxyUnmarshalException(__FILE__, __LINE__); + return 0; // Unreachable, fixes compiler warning. #endif } } |