summaryrefslogtreecommitdiff
path: root/tests/Thread_Pool_Test.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/Thread_Pool_Test.cpp')
-rw-r--r--tests/Thread_Pool_Test.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/tests/Thread_Pool_Test.cpp b/tests/Thread_Pool_Test.cpp
index b840cbe28bd..14bc973287d 100644
--- a/tests/Thread_Pool_Test.cpp
+++ b/tests/Thread_Pool_Test.cpp
@@ -203,9 +203,7 @@ Thread_Pool::open (void *)
&this->lock_adapter_),
-1);
- int i; // We need to define 'i' here to keep EGCS from complaining...
-
- for (i = this->thr_count (); i > 0; i--)
+ for (int i = this->thr_count (); i > 0; i--)
{
ACE_DEBUG ((LM_DEBUG,
ASYS_TEXT ("(%t) EOF, enqueueing NULL block for thread = %d\n"),