summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSteve Huston <shuston@riverace.com>1997-11-22 22:52:07 +0000
committerSteve Huston <shuston@riverace.com>1997-11-22 22:52:07 +0000
commitf8185d82fd57fac43237be97c8aabec08f2f9296 (patch)
treec332c40e9e32ac1e889a1da6ae842b01802fb383
parent9b1c7010855d09b0be42cded417d0e927a8708a9 (diff)
downloadATCD-f8185d82fd57fac43237be97c8aabec08f2f9296.tar.gz
Moved expression outside ACE_ASSERT.
-rw-r--r--tests/Thread_Pool_Test.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/Thread_Pool_Test.cpp b/tests/Thread_Pool_Test.cpp
index 1e95919673e..6c70da76718 100644
--- a/tests/Thread_Pool_Test.cpp
+++ b/tests/Thread_Pool_Test.cpp
@@ -98,7 +98,8 @@ Thread_Pool::svc (void)
{
ACE_Message_Block *mb;
- ACE_ASSERT (this->getq (mb) != -1);
+ int result = this->getq (mb);
+ ACE_ASSERT (result != -1);
int length = mb->length ();