summaryrefslogtreecommitdiff
path: root/TAO/tests/RTCORBA/Thread_Pool/server.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/tests/RTCORBA/Thread_Pool/server.cpp')
-rw-r--r--TAO/tests/RTCORBA/Thread_Pool/server.cpp9
1 files changed, 3 insertions, 6 deletions
diff --git a/TAO/tests/RTCORBA/Thread_Pool/server.cpp b/TAO/tests/RTCORBA/Thread_Pool/server.cpp
index 5db15b839c8..687edef8835 100644
--- a/TAO/tests/RTCORBA/Thread_Pool/server.cpp
+++ b/TAO/tests/RTCORBA/Thread_Pool/server.cpp
@@ -114,9 +114,8 @@ main (int argc, char *argv[])
ACE_TRY_CHECK;
CORBA::ULong stacksize = 0;
- RTCORBA::Priority default_priority =
- RTCORBA::Priority (ACE_DEFAULT_THREAD_PRIORITY);
- CORBA::Boolean allow_request_buffering = 0;
+ RTCORBA::Priority default_priority = ACE_DEFAULT_THREAD_PRIORITY;
+ CORBA::Boolean allow_request_buffering = FALSE;
CORBA::ULong max_buffered_requests = 0;
CORBA::ULong max_request_buffer_size = 0;
@@ -140,9 +139,8 @@ main (int argc, char *argv[])
max_request_buffer_size,
ACE_TRY_ENV);
ACE_TRY_CHECK;
- ACE_UNUSED_ARG (id1);
- CORBA::Boolean allow_borrowing = 0;
+ CORBA::Boolean allow_borrowing = FALSE;
RTCORBA::ThreadpoolLanes lanes;
lanes.length (1);
@@ -159,7 +157,6 @@ main (int argc, char *argv[])
max_request_buffer_size,
ACE_TRY_ENV);
ACE_TRY_CHECK;
- ACE_UNUSED_ARG (id2);
orb->run (ACE_TRY_ENV);
ACE_TRY_CHECK;