From 2cf6f180334f1669b09897339a3e0f42dff2bc54 Mon Sep 17 00:00:00 2001 From: irfan Date: Wed, 9 Dec 1998 10:43:17 +0000 Subject: *** empty log message *** --- ace/Containers_T.cpp | 5 ++++- ace/Map_Manager.cpp | 5 ++++- ace/SPIPE_Acceptor.cpp | 3 ++- 3 files changed, 10 insertions(+), 3 deletions(-) (limited to 'ace') diff --git a/ace/Containers_T.cpp b/ace/Containers_T.cpp index 2088a478d69..98577c73ff4 100644 --- a/ace/Containers_T.cpp +++ b/ace/Containers_T.cpp @@ -1743,7 +1743,10 @@ ACE_Unbounded_Set_Iterator::operator* (void) //ACE_TRACE ("ACE_Unbounded_Set_Iterator::operator*"); T *retv = 0; - ACE_ASSERT (this->next (retv) != 0); + int result = this->next (retv); + ACE_ASSERT (result != 0); + ACE_UNUSED_ARG (result); + return *retv; } diff --git a/ace/Map_Manager.cpp b/ace/Map_Manager.cpp index b8f54316d26..73933478cd2 100644 --- a/ace/Map_Manager.cpp +++ b/ace/Map_Manager.cpp @@ -684,7 +684,10 @@ ACE_Map_Iterator_Base::operator* (void) ACE_TRACE ("ACE_Map_Iterator_Base::operator*"); ACE_Map_Entry *retv = 0; - ACE_ASSERT (this->next (retv) != 0); + int result = this->next (retv); + ACE_ASSERT (result != 0); + ACE_UNUSED_ARG (result); + return *retv; } diff --git a/ace/SPIPE_Acceptor.cpp b/ace/SPIPE_Acceptor.cpp index fb149dffcf4..937bca2e295 100644 --- a/ace/SPIPE_Acceptor.cpp +++ b/ace/SPIPE_Acceptor.cpp @@ -112,7 +112,8 @@ ACE_SPIPE_Acceptor::create_new_instance (int perms) this->set_handle (handle); this->overlapped_.hEvent = this->event_.handle(); this->event_.reset(); - ACE_ASSERT(::ConnectNamedPipe (handle, &this->overlapped_) == FALSE); + BOOL result = ::ConnectNamedPipe (handle, &this->overlapped_); + ACE_ASSERT(result == FALSE); status = ::GetLastError(); if (status == ERROR_PIPE_CONNECTED) this->already_connected_ = TRUE; -- cgit v1.2.1