From 8fbe7fbae70071aa4c585c1a0b00eb2776a71cd1 Mon Sep 17 00:00:00 2001 From: coryan Date: Mon, 12 Apr 1999 15:38:40 +0000 Subject: ChangeLogTag:Mon Apr 12 10:38:46 1999 Carlos O'Ryan --- TAO/ChangeLog-99c | 7 +++++++ TAO/tao/MessagingC.cpp | 14 +++++++++++++- TAO/tao/PolicyC.cpp | 1 + 3 files changed, 21 insertions(+), 1 deletion(-) diff --git a/TAO/ChangeLog-99c b/TAO/ChangeLog-99c index b91a504fc4d..9b8d093b6da 100644 --- a/TAO/ChangeLog-99c +++ b/TAO/ChangeLog-99c @@ -1,3 +1,10 @@ +Mon Apr 12 10:38:46 1999 Carlos O'Ryan + + * tao/MessagingC.cpp: + * tao/PolicyC.cpp: + Removed warnings about unused variables, the variables are + required for platforms without native C++ exceptions. + Mon Apr 12 09:52:58 1999 Carlos O'Ryan * tao/Makefile: diff --git a/TAO/tao/MessagingC.cpp b/TAO/tao/MessagingC.cpp index 9b622e4b003..217037e1781 100644 --- a/TAO/tao/MessagingC.cpp +++ b/TAO/tao/MessagingC.cpp @@ -200,7 +200,7 @@ Messaging::RebindMode Messaging::RebindPolicy::rebind_mode ( ) { Messaging::RebindMode _tao_retval = 0; - + ACE_UNUSED_ARG (_tao_retval); ACE_THROW_RETURN (CORBA::INV_OBJREF (CORBA::COMPLETED_NO), _tao_retval); } @@ -272,6 +272,7 @@ Messaging::SyncScope Messaging::SyncScopePolicy::synchronization ( ) { Messaging::SyncScope _tao_retval = 0; + ACE_UNUSED_ARG (_tao_retval); ACE_THROW_RETURN (CORBA::INV_OBJREF (CORBA::COMPLETED_NO), _tao_retval); } @@ -371,6 +372,7 @@ Messaging::PriorityRange Messaging::RequestPriorityPolicy::priority_range ( ) { Messaging::PriorityRange _tao_retval; + ACE_UNUSED_ARG (_tao_retval); ACE_THROW_RETURN (CORBA::INV_OBJREF (CORBA::COMPLETED_NO), _tao_retval); } @@ -442,6 +444,7 @@ Messaging::PriorityRange Messaging::ReplyPriorityPolicy::priority_range ( ) { Messaging::PriorityRange _tao_retval; + ACE_UNUSED_ARG (_tao_retval); ACE_THROW_RETURN (CORBA::INV_OBJREF (CORBA::COMPLETED_NO), _tao_retval); } @@ -513,6 +516,7 @@ TimeBase::UtcT Messaging::RequestStartTimePolicy::start_time ( ) { TimeBase::UtcT _tao_retval; + ACE_UNUSED_ARG (_tao_retval); ACE_THROW_RETURN (CORBA::INV_OBJREF (CORBA::COMPLETED_NO), _tao_retval); } @@ -584,6 +588,7 @@ TimeBase::UtcT Messaging::RequestEndTimePolicy::end_time ( ) { TimeBase::UtcT _tao_retval; + ACE_UNUSED_ARG (_tao_retval); ACE_THROW_RETURN (CORBA::INV_OBJREF (CORBA::COMPLETED_NO), _tao_retval); } @@ -655,6 +660,7 @@ TimeBase::UtcT Messaging::ReplyStartTimePolicy::start_time ( ) { TimeBase::UtcT _tao_retval; + ACE_UNUSED_ARG (_tao_retval); ACE_THROW_RETURN (CORBA::INV_OBJREF (CORBA::COMPLETED_NO), _tao_retval); } @@ -726,6 +732,7 @@ TimeBase::UtcT Messaging::ReplyEndTimePolicy::end_time ( ) { TimeBase::UtcT _tao_retval; + ACE_UNUSED_ARG (_tao_retval); ACE_THROW_RETURN (CORBA::INV_OBJREF (CORBA::COMPLETED_NO), _tao_retval); } @@ -797,6 +804,7 @@ TimeBase::TimeT Messaging::RelativeRequestTimeoutPolicy::relative_expiry ( ) { TimeBase::TimeT _tao_retval = 0; + ACE_UNUSED_ARG (_tao_retval); ACE_THROW_RETURN (CORBA::INV_OBJREF (CORBA::COMPLETED_NO), _tao_retval); } @@ -868,6 +876,7 @@ TimeBase::TimeT Messaging::RelativeRoundtripTimeoutPolicy::relative_expiry ( ) { TimeBase::TimeT _tao_retval = 0; + ACE_UNUSED_ARG (_tao_retval); ACE_THROW_RETURN (CORBA::INV_OBJREF (CORBA::COMPLETED_NO), _tao_retval); } @@ -967,6 +976,7 @@ Messaging::RoutingTypeRange Messaging::RoutingPolicy::routing_range ( ) { Messaging::RoutingTypeRange _tao_retval; + ACE_UNUSED_ARG (_tao_retval); ACE_THROW_RETURN (CORBA::INV_OBJREF (CORBA::COMPLETED_NO), _tao_retval); } @@ -1038,6 +1048,7 @@ CORBA::UShort Messaging::MaxHopsPolicy::max_hops ( ) { CORBA::UShort _tao_retval = 0; + ACE_UNUSED_ARG (_tao_retval); ACE_THROW_RETURN (CORBA::INV_OBJREF (CORBA::COMPLETED_NO), _tao_retval); } @@ -1109,6 +1120,7 @@ Messaging::Ordering Messaging::QueueOrderPolicy::allowed_orders ( ) { Messaging::Ordering _tao_retval = 0; + ACE_UNUSED_ARG (_tao_retval); ACE_THROW_RETURN (CORBA::INV_OBJREF (CORBA::COMPLETED_NO), _tao_retval); } diff --git a/TAO/tao/PolicyC.cpp b/TAO/tao/PolicyC.cpp index f25e838243d..01547f6a509 100644 --- a/TAO/tao/PolicyC.cpp +++ b/TAO/tao/PolicyC.cpp @@ -445,6 +445,7 @@ CORBA_PolicyList * CORBA_PolicyManager::get_policy_overrides ( ) { CORBA_PolicyList* _tao_retval = 0; + ACE_UNUSED_ARG(_tao_retval); ACE_THROW_RETURN (CORBA::MARSHAL (CORBA::COMPLETED_NO), _tao_retval); } -- cgit v1.2.1