diff options
author | Ossama Othman <ossama-othman@users.noreply.github.com> | 1999-05-15 00:33:24 +0000 |
---|---|---|
committer | Ossama Othman <ossama-othman@users.noreply.github.com> | 1999-05-15 00:33:24 +0000 |
commit | 45c4caa9c01c05ab91a3db94ec245ea19cb71c8c (patch) | |
tree | 2c797c792d842eb1dc6d52e89ccfea5a972f60a5 /ace/Message_Queue_T.cpp | |
parent | 5de798440779cc4055ee2f8a59644e73b996cef2 (diff) | |
download | ATCD-45c4caa9c01c05ab91a3db94ec245ea19cb71c8c.tar.gz |
* ace/Message_Queue_T.cpp (close):
Temporary variable wasn't declared.
* ace/Message_Queue_T.cpp (remove_messages):
Removed unused variable.
Diffstat (limited to 'ace/Message_Queue_T.cpp')
-rw-r--r-- | ace/Message_Queue_T.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
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<ACE_SYNCH_USE>::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 <release> rather than <delete> since this is @@ -847,7 +847,7 @@ ACE_Dynamic_Message_Queue<ACE_SYNCH_USE>::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; |