diff options
author | Ossama Othman <ossama-othman@users.noreply.github.com> | 1999-02-10 20:18:26 +0000 |
---|---|---|
committer | Ossama Othman <ossama-othman@users.noreply.github.com> | 1999-02-10 20:18:26 +0000 |
commit | 4e2572fb6b015bdf20b16955acaa8d722902f61d (patch) | |
tree | 663c1a8140bf076fe9ad519db90bc66791009c7b /tests/Message_Queue_Test.cpp | |
parent | 8667f7855f776be9ec27025ed243a852c074ce2f (diff) | |
download | ATCD-4e2572fb6b015bdf20b16955acaa8d722902f61d.tar.gz |
* tests/Message_Queue_Test.cpp (performance_test):
initialized ACE_Message_Block **send_block to zero to prevent
"uninitialized" warnings from egcs 1.1.1.
Diffstat (limited to 'tests/Message_Queue_Test.cpp')
-rw-r--r-- | tests/Message_Queue_Test.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/Message_Queue_Test.cpp b/tests/Message_Queue_Test.cpp index d3471e10401..0944657ff28 100644 --- a/tests/Message_Queue_Test.cpp +++ b/tests/Message_Queue_Test.cpp @@ -377,7 +377,7 @@ performance_test (int queue_type = 0) // large relative to the amount of stack space available. Allocate // it here instead of in the sender, so that we can delete it after // the _receiver_ is done. - ACE_Message_Block **send_block; + ACE_Message_Block **send_block = 0; ACE_NEW_RETURN (send_block, ACE_Message_Block *[messages], -1); |