diff options
Diffstat (limited to 'TAO/tests/Portable_Interceptors/Dynamic/server_interceptor.cpp')
-rw-r--r-- | TAO/tests/Portable_Interceptors/Dynamic/server_interceptor.cpp | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/TAO/tests/Portable_Interceptors/Dynamic/server_interceptor.cpp b/TAO/tests/Portable_Interceptors/Dynamic/server_interceptor.cpp index 20671f6c34b..222a168df48 100644 --- a/TAO/tests/Portable_Interceptors/Dynamic/server_interceptor.cpp +++ b/TAO/tests/Portable_Interceptors/Dynamic/server_interceptor.cpp @@ -49,7 +49,8 @@ Echo_Server_Request_Interceptor::receive_request_service_contexts ( catched_exception = false; try { - CORBA::Boolean tmdi = ri->target_is_a ("FOO"); + CORBA::Boolean const tmdi = ri->target_is_a ("FOO"); + ACE_UNUSED_ARG(tmdi); } catch (const ::CORBA::BAD_INV_ORDER& ex) { @@ -67,7 +68,8 @@ Echo_Server_Request_Interceptor::receive_request_service_contexts ( catched_exception = false; try { - PortableInterceptor::ReplyStatus tmdi = ri->reply_status (); + PortableInterceptor::ReplyStatus const tmdi = ri->reply_status (); + ACE_UNUSED_ARG(tmdi); } catch (const ::CORBA::BAD_INV_ORDER& ex) { @@ -189,7 +191,8 @@ Echo_Server_Request_Interceptor::receive_request ( catched_exception = false; try { - PortableInterceptor::ReplyStatus tmdi = ri->reply_status (); + PortableInterceptor::ReplyStatus const tmdi = ri->reply_status (); + ACE_UNUSED_ARG(tmdi); } catch (const ::CORBA::BAD_INV_ORDER& ex) { |