summaryrefslogtreecommitdiff
path: root/ace/Service_Gestalt.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'ace/Service_Gestalt.cpp')
-rw-r--r--ace/Service_Gestalt.cpp8
1 files changed, 1 insertions, 7 deletions
diff --git a/ace/Service_Gestalt.cpp b/ace/Service_Gestalt.cpp
index 456958ac732..28efeb2c21e 100644
--- a/ace/Service_Gestalt.cpp
+++ b/ace/Service_Gestalt.cpp
@@ -98,13 +98,7 @@ ACE_Service_Type_Forward_Declaration_Guard::~ACE_Service_Type_Forward_Declaratio
int ret = this->repo_->find (this->name_, &tmp, 0);
// We inserted it (as inactive), so we expect to find it, right?
- if (ret < 0 && ret != -2)
- {
- ACE_ERROR ((LM_WARNING,
- ACE_LIB_TEXT ("(%P|%t) FWDCL::end - Failed (%d) to find %s\n"),
- ret, this->name_));
- ACE_ASSERT (ret == -2 || ret >= 0);
- }
+ ACE_ASSERT (ret = -2 || ret >= 0);
if (tmp != 0 && tmp->type () != 0)
{