From 45c4caa9c01c05ab91a3db94ec245ea19cb71c8c Mon Sep 17 00:00:00 2001 From: Ossama Othman Date: Sat, 15 May 1999 00:33:24 +0000 Subject: * ace/Message_Queue_T.cpp (close): Temporary variable wasn't declared. * ace/Message_Queue_T.cpp (remove_messages): Removed unused variable. --- ace/Message_Queue_T.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'ace/Message_Queue_T.cpp') diff --git a/ace/Message_Queue_T.cpp b/ace/Message_Queue_T.cpp index eb5d1e25308..f1255f597a6 100644 --- a/ace/Message_Queue_T.cpp +++ b/ace/Message_Queue_T.cpp @@ -238,7 +238,7 @@ ACE_Message_Queue::close (void) this->cur_bytes_ -= this->head_->total_size (); - temp = this->head_; + ACE_Message_Block *temp = this->head_; this->head_ = this->head_->next (); // Make sure to use rather than since this is @@ -847,7 +847,7 @@ ACE_Dynamic_Message_Queue::remove_messages (ACE_Message_Block *&l } // Decrement message and size counts for removed messages. - ACE_Message_Block *temp1, *temp2; + ACE_Message_Block *temp1; for (temp1 = list_head; temp1 != 0; -- cgit v1.2.1