summaryrefslogtreecommitdiff
path: root/tests/Message_Queue_Test.cpp
diff options
context:
space:
mode:
authorirfan <irfan@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1999-07-02 18:48:15 +0000
committerirfan <irfan@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1999-07-02 18:48:15 +0000
commitdb556be27d5fb6b3943651436d2691f7737595bd (patch)
tree56a3f02d1d9ee365210f25c2a5d9e00b218fa841 /tests/Message_Queue_Test.cpp
parent74cd0f42a6ef170f6d023a0e94aa0a3e36ad33dc (diff)
downloadATCD-db556be27d5fb6b3943651436d2691f7737595bd.tar.gz
ChangeLogTag:Fri Jul 2 11:49:12 1999 Irfan Pyarali <irfan@cs.wustl.edu>
Diffstat (limited to 'tests/Message_Queue_Test.cpp')
-rw-r--r--tests/Message_Queue_Test.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/Message_Queue_Test.cpp b/tests/Message_Queue_Test.cpp
index eb801e233c6..92267fd6837 100644
--- a/tests/Message_Queue_Test.cpp
+++ b/tests/Message_Queue_Test.cpp
@@ -214,7 +214,7 @@ single_thread_performance_test (int queue_type = 0)
// Create the messages. Allocate off the heap in case messages
// is large relative to the amount of stack space available.
- ACE_Message_Block **send_block;
+ ACE_Message_Block **send_block = 0;
ACE_NEW_RETURN (send_block,
ACE_Message_Block *[max_messages],
-1);
@@ -225,7 +225,7 @@ single_thread_performance_test (int queue_type = 0)
MAX_MESSAGE_SIZE),
-1);
- ACE_Message_Block **receive_block_p;
+ ACE_Message_Block **receive_block_p = 0x;
ACE_NEW_RETURN (receive_block_p,
ACE_Message_Block *[max_messages],
-1);
@@ -300,7 +300,7 @@ receiver (void *arg)
arg);
int i;
- ACE_Message_Block **receive_block_p;
+ ACE_Message_Block **receive_block_p = 0;
ACE_NEW_RETURN (receive_block_p,
ACE_Message_Block *[max_messages],
(void *) -1);