summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 ();