diff options
author | levine <levine@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1998-08-14 03:27:48 +0000 |
---|---|---|
committer | levine <levine@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1998-08-14 03:27:48 +0000 |
commit | 77f7d9812015c3a0c11082ca3f2f7ca0e2661cc4 (patch) | |
tree | 4a37066c4fba951038a4414b87cc290e36b9fbca /tests | |
parent | 42910de4dcfa3ff11536cbe516aca3c9138a1c3f (diff) | |
download | ATCD-77f7d9812015c3a0c11082ca3f2f7ca0e2661cc4.tar.gz |
(producer): removed unused local "result"
Diffstat (limited to 'tests')
-rw-r--r-- | tests/MsgQueue_Notifications_Test.cpp | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/tests/MsgQueue_Notifications_Test.cpp b/tests/MsgQueue_Notifications_Test.cpp index 8dd7a2b1d47..bf11e19246f 100644 --- a/tests/MsgQueue_Notifications_Test.cpp +++ b/tests/MsgQueue_Notifications_Test.cpp @@ -92,8 +92,8 @@ private: Message_Handler::Message_Handler (ACE_Reactor &reactor) // First time handle_input will be called : notification_strategy_ (&reactor, - this, - ACE_Event_Handler::READ_MASK) + this, + ACE_Event_Handler::READ_MASK) { this->msg_queue ()->notification_strategy (&this->notification_strategy_); this->make_message (); @@ -180,14 +180,13 @@ Watermark_Test::Watermark_Test () int Watermark_Test::producer (void) { - int result = 0; int i, hwm; for (hwm = this->hwm_, i = watermark_iterations; hwm >= 0 ; hwm -= this->len_, i--) { - result = this->put_message (); + this->put_message (); this->print_producer_debug_message (); } ACE_DEBUG ((LM_DEBUG, "(%P|%t) Producer: High water mark hit ---- \n")); |