diff options
Diffstat (limited to 'cpp/src')
-rw-r--r-- | cpp/src/Ice/CommunicatorI.cpp | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/cpp/src/Ice/CommunicatorI.cpp b/cpp/src/Ice/CommunicatorI.cpp index 47092b0adda..01fa8eac7a7 100644 --- a/cpp/src/Ice/CommunicatorI.cpp +++ b/cpp/src/Ice/CommunicatorI.cpp @@ -149,10 +149,7 @@ Ice::CommunicatorI::createObjectAdapterWithEndpoints(const string& name, const s } catch(const AlreadyRegisteredException&) { - if(originalValue.length() != 0) - { - getProperties()->setProperty(propertyKey, originalValue); - } + getProperties()->setProperty(propertyKey, originalValue); throw; } } |