summaryrefslogtreecommitdiff
path: root/cpp/src
diff options
context:
space:
mode:
authorBenoit Foucher <benoit@zeroc.com>2003-01-23 23:12:44 +0000
committerBenoit Foucher <benoit@zeroc.com>2003-01-23 23:12:44 +0000
commit44a217593fadf750b3de9bc52d6e89682337a2f9 (patch)
tree4a537b5bf5ffbb13b5109ea089f1e428db50fcbd /cpp/src
parentanother fix (diff)
downloadice-44a217593fadf750b3de9bc52d6e89682337a2f9.tar.bz2
ice-44a217593fadf750b3de9bc52d6e89682337a2f9.tar.xz
ice-44a217593fadf750b3de9bc52d6e89682337a2f9.zip
Removed bogus assert.
Diffstat (limited to 'cpp/src')
-rw-r--r--cpp/src/Ice/LocatorInfo.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/cpp/src/Ice/LocatorInfo.cpp b/cpp/src/Ice/LocatorInfo.cpp
index 4842d17ca3f..265e97ba351 100644
--- a/cpp/src/Ice/LocatorInfo.cpp
+++ b/cpp/src/Ice/LocatorInfo.cpp
@@ -402,8 +402,8 @@ IceInternal::LocatorInfo::clearCache(const ReferencePtr& ref)
if(!ref->adapterId.empty())
{
vector<EndpointPtr> endpoints = _table->removeAdapterEndpoints(ref->adapterId);
- assert(!endpoints.empty());
- if(ref->instance->traceLevels()->location >= 2)
+
+ if(!endpoints.empty() && ref->instance->traceLevels()->location >= 2)
{
trace("removed endpoints from locator table", ref, endpoints);
}