summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorSteve Huston <shuston@riverace.com>1999-02-02 14:58:20 +0000
committerSteve Huston <shuston@riverace.com>1999-02-02 14:58:20 +0000
commita564ab9bc0a243126dc8ba8a90ac8970d5ddccaf (patch)
tree90c00a5d947758f3c6dede83ddddb4c7c8dcd284 /tests
parent06c7b3f2636f0f0b3ebe2923bda1aeec26dfcaaa (diff)
downloadATCD-a564ab9bc0a243126dc8ba8a90ac8970d5ddccaf.tar.gz
Move definition of 'status' outside of #if ACE_HAS_THREADS test.
Diffstat (limited to 'tests')
-rw-r--r--tests/MT_Reactor_Timer_Test.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/MT_Reactor_Timer_Test.cpp b/tests/MT_Reactor_Timer_Test.cpp
index bde338f3645..8d4e75c373d 100644
--- a/tests/MT_Reactor_Timer_Test.cpp
+++ b/tests/MT_Reactor_Timer_Test.cpp
@@ -252,6 +252,8 @@ main (int, ASYS_TCHAR *[])
{
ACE_START_TEST (ASYS_TEXT ("MT_Reactor_Timer_Test"));
+ int status = 0;
+
ACE_Reactor *r = ACE_Reactor::instance ();
Dispatch_Count_Handler callback;
@@ -276,7 +278,7 @@ main (int, ASYS_TCHAR *[])
Time_Handler other_thread;
ACE_Time_Value time_limit(30);
- int status;
+
// Set up initial set of timers.
other_thread.setup ();