summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorelliott_c <ocielliottc@users.noreply.github.com>2007-01-26 13:50:03 +0000
committerelliott_c <ocielliottc@users.noreply.github.com>2007-01-26 13:50:03 +0000
commit9c9f9408b21c2159d0fb01bc965657810cd4c1cd (patch)
tree7806e195568f4ea3873be694578a2606e2959e3c
parenta6b39dd0d2b5b543ddb4fb1cb89657c59e90589c (diff)
downloadATCD-9c9f9408b21c2159d0fb01bc965657810cd4c1cd.tar.gz
ChangeLogTag: Fri Jan 26 13:46:23 UTC 2007 Chad Elliott <elliott_c@ociweb.com>
-rw-r--r--TAO/ChangeLog6
-rw-r--r--TAO/examples/AMI/FL_Callback/Peer_i.cpp2
-rw-r--r--TAO/examples/Callback_Quoter/Notifier_Input_Handler.cpp2
-rw-r--r--TAO/examples/Event_Comm/Consumer_Handler.cpp2
-rw-r--r--TAO/examples/Event_Comm/Notifier_Server.cpp2
-rw-r--r--TAO/examples/Event_Comm/notifier.cpp2
-rw-r--r--TAO/examples/Load_Balancing_persistent/Identity_Server.cpp6
-rw-r--r--TAO/examples/PluggableUDP/tests/Basic/UDP_i.cpp2
-rw-r--r--TAO/examples/Quoter/Factory_Finder_i.cpp2
-rw-r--r--TAO/examples/Quoter/Generic_Factory_i.cpp4
-rw-r--r--TAO/examples/Simple/Simple_util.cpp4
-rw-r--r--TAO/examples/Simple/bank/Bank_Client_i.cpp4
-rw-r--r--TAO/examples/Simulator/Event_Supplier/DOVE_Supplier.cpp4
-rw-r--r--TAO/examples/Simulator/Event_Supplier/DualEC_Sup.cpp4
-rw-r--r--TAO/examples/Simulator/Event_Supplier/Event_Con.cpp6
-rw-r--r--TAO/examples/Simulator/Event_Supplier/Event_Sup.cpp2
-rw-r--r--TAO/examples/Simulator/Event_Supplier/Logging_Sup.cpp2
-rw-r--r--TAO/examples/ior_corbaloc/corbaname_client.cpp2
-rw-r--r--TAO/orbsvcs/FTRT_Event_Service/Gateway_Service/FTRTEC_Gateway_Service.cpp4
-rw-r--r--TAO/orbsvcs/Fault_Detector/Fault_Detector_i.cpp2
-rw-r--r--TAO/orbsvcs/Fault_Notifier/FT_Notifier_i.cpp2
-rw-r--r--TAO/orbsvcs/ImplRepo_Service/Activator_Loader.cpp4
-rw-r--r--TAO/orbsvcs/ImplRepo_Service/Forwarder.cpp6
-rw-r--r--TAO/orbsvcs/ImplRepo_Service/INS_Locator.cpp4
-rw-r--r--TAO/orbsvcs/ImplRepo_Service/ImR_Activator_i.cpp4
-rw-r--r--TAO/orbsvcs/ImplRepo_Service/ImR_Locator_i.cpp18
-rw-r--r--TAO/orbsvcs/ImplRepo_Service/Locator_Loader.cpp4
-rw-r--r--TAO/orbsvcs/ImplRepo_Service/tao_imr_i.cpp18
-rw-r--r--TAO/orbsvcs/LifeCycle_Service/LifeCycle_Service_i.cpp2
-rw-r--r--TAO/orbsvcs/Logging_Service/Basic_Logging_Service/Basic_Logging_Service.cpp2
-rw-r--r--TAO/orbsvcs/Logging_Service/Event_Logging_Service/Event_Logging_Service.cpp2
-rw-r--r--TAO/orbsvcs/Logging_Service/Notify_Logging_Service/Notify_Logging_Service.cpp2
-rw-r--r--TAO/orbsvcs/Logging_Service/RTEvent_Logging_Service/RTEvent_Logging_Service.cpp2
-rw-r--r--TAO/orbsvcs/Notify_Service/Notify_Service.cpp2
-rw-r--r--TAO/orbsvcs/examples/CosEC/Factory/CosEventChannelFactory_i.cpp28
-rw-r--r--TAO/orbsvcs/examples/CosEC/RtEC_Based/bin/RtEC_Based_CosEC.cpp2
-rw-r--r--TAO/orbsvcs/examples/CosEC/RtEC_Based/lib/ProxyPushSupplier_i.cpp2
-rw-r--r--TAO/orbsvcs/examples/CosEC/RtEC_Based/tests/Multiple/Multiple.cpp2
-rw-r--r--TAO/orbsvcs/examples/Notify/ThreadPool/ORB_Run_Task.cpp2
-rw-r--r--TAO/orbsvcs/orbsvcs/AV/AVStreams_i.cpp20
-rw-r--r--TAO/orbsvcs/orbsvcs/AV/Endpoint_Strategy_T.cpp2
-rw-r--r--TAO/orbsvcs/orbsvcs/AV/QoS_UDP.cpp4
-rw-r--r--TAO/orbsvcs/orbsvcs/Concurrency/Concurrency_Loader.cpp2
-rw-r--r--TAO/orbsvcs/orbsvcs/CosEvent/CEC_Event_Loader.cpp4
-rw-r--r--TAO/orbsvcs/orbsvcs/CosEvent/CEC_ProxyPullConsumer.cpp14
-rw-r--r--TAO/orbsvcs/orbsvcs/CosEvent/CEC_ProxyPullSupplier.cpp6
-rw-r--r--TAO/orbsvcs/orbsvcs/CosEvent/CEC_ProxyPushConsumer.cpp8
-rw-r--r--TAO/orbsvcs/orbsvcs/CosEvent/CEC_ProxyPushSupplier.cpp14
-rw-r--r--TAO/orbsvcs/orbsvcs/CosEvent/CEC_Reactive_ConsumerControl.cpp12
-rw-r--r--TAO/orbsvcs/orbsvcs/CosEvent/CEC_Reactive_Pulling_Strategy.cpp8
-rw-r--r--TAO/orbsvcs/orbsvcs/CosEvent/CEC_Reactive_SupplierControl.cpp20
-rw-r--r--TAO/orbsvcs/orbsvcs/CosEvent/CEC_TypedProxyPushConsumer.cpp8
-rw-r--r--TAO/orbsvcs/orbsvcs/ESF/ESF_Copy_On_Read.cpp2
-rw-r--r--TAO/orbsvcs/orbsvcs/ESF/ESF_Proxy_Admin.cpp2
-rw-r--r--TAO/orbsvcs/orbsvcs/ESF/ESF_Shutdown_Proxy.cpp2
-rw-r--r--TAO/orbsvcs/orbsvcs/ETCL/ETCL_Constraint.cpp4
-rw-r--r--TAO/orbsvcs/orbsvcs/Event/ECG_Reactive_ConsumerEC_Control.cpp12
-rw-r--r--TAO/orbsvcs/orbsvcs/Event/ECG_Reconnect_ConsumerEC_Control.cpp16
-rw-r--r--TAO/orbsvcs/orbsvcs/Event/EC_Default_ProxyConsumer.cpp2
-rw-r--r--TAO/orbsvcs/orbsvcs/Event/EC_Event_Channel_Base.cpp4
-rw-r--r--TAO/orbsvcs/orbsvcs/Event/EC_Gateway_IIOP.cpp4
-rw-r--r--TAO/orbsvcs/orbsvcs/Event/EC_Kokyu_Dispatching.cpp4
-rw-r--r--TAO/orbsvcs/orbsvcs/Event/EC_Lifetime_Utils.inl6
-rw-r--r--TAO/orbsvcs/orbsvcs/Event/EC_Lifetime_Utils_T.inl2
-rw-r--r--TAO/orbsvcs/orbsvcs/Event/EC_ObserverStrategy.cpp18
-rw-r--r--TAO/orbsvcs/orbsvcs/Event/EC_Per_Supplier_Filter.cpp2
-rw-r--r--TAO/orbsvcs/orbsvcs/Event/EC_Priority_Dispatching.cpp2
-rw-r--r--TAO/orbsvcs/orbsvcs/Event/EC_ProxyConsumer.cpp4
-rw-r--r--TAO/orbsvcs/orbsvcs/Event/EC_ProxySupplier.cpp12
-rw-r--r--TAO/orbsvcs/orbsvcs/Event/EC_RTCORBA_Factory.cpp2
-rw-r--r--TAO/orbsvcs/orbsvcs/Event/EC_Reactive_ConsumerControl.cpp12
-rw-r--r--TAO/orbsvcs/orbsvcs/Event/EC_Reactive_SupplierControl.cpp14
-rw-r--r--TAO/orbsvcs/orbsvcs/Event/EC_Timeout_Generator.cpp2
-rw-r--r--TAO/orbsvcs/orbsvcs/FaultTolerance/FT_ClientRequest_Interceptor.cpp8
-rw-r--r--TAO/orbsvcs/orbsvcs/FaultTolerance/FT_ServerRequest_Interceptor.cpp4
-rw-r--r--TAO/orbsvcs/orbsvcs/FtRtEvent/ClientORB/FTRT_ClientORB_Interceptor.cpp4
-rw-r--r--TAO/orbsvcs/orbsvcs/FtRtEvent/EventChannel/Basic_Replication_Strategy.cpp2
-rw-r--r--TAO/orbsvcs/orbsvcs/FtRtEvent/EventChannel/FTEC_Group_Manager.cpp6
-rw-r--r--TAO/orbsvcs/orbsvcs/FtRtEvent/EventChannel/FTEC_ProxySupplier.cpp2
-rw-r--r--TAO/orbsvcs/orbsvcs/FtRtEvent/EventChannel/ForwardCtrlServerInterceptor.cpp2
-rw-r--r--TAO/orbsvcs/orbsvcs/FtRtEvent/EventChannel/FtEventServiceInterceptor.cpp8
-rw-r--r--TAO/orbsvcs/orbsvcs/FtRtEvent/Utils/resolve_init.h2
-rw-r--r--TAO/orbsvcs/orbsvcs/IFRService/ComponentDef_i.cpp2
-rw-r--r--TAO/orbsvcs/orbsvcs/IFRService/Contained_i.cpp2
-rw-r--r--TAO/orbsvcs/orbsvcs/IFRService/IFR_Service_Loader.cpp2
-rw-r--r--TAO/orbsvcs/orbsvcs/IFRService/InterfaceDef_i.cpp2
-rw-r--r--TAO/orbsvcs/orbsvcs/IFRService/ValueDef_i.cpp2
-rw-r--r--TAO/orbsvcs/orbsvcs/LoadBalancing/LB_LeastLoaded.cpp4
-rw-r--r--TAO/orbsvcs/orbsvcs/LoadBalancing/LB_LoadAverage.cpp4
-rw-r--r--TAO/orbsvcs/orbsvcs/LoadBalancing/LB_LoadManager.cpp2
-rw-r--r--TAO/orbsvcs/orbsvcs/LoadBalancing/LB_LoadMinimum.cpp6
-rw-r--r--TAO/orbsvcs/orbsvcs/LoadBalancing/LB_ObjectReferenceFactory.cpp2
-rw-r--r--TAO/orbsvcs/orbsvcs/Log/Iterator_i.cpp2
-rw-r--r--TAO/orbsvcs/orbsvcs/Log/Log_Compaction_Handler.cpp2
-rw-r--r--TAO/orbsvcs/orbsvcs/Log/Log_Constraint_Visitors.cpp20
-rw-r--r--TAO/orbsvcs/orbsvcs/Log/Log_Flush_Handler.cpp2
-rw-r--r--TAO/orbsvcs/orbsvcs/Naming/Hash_Naming_Context.cpp16
-rw-r--r--TAO/orbsvcs/orbsvcs/Naming/Naming_Loader.cpp2
-rw-r--r--TAO/orbsvcs/orbsvcs/Naming/Naming_Server.cpp2
-rw-r--r--TAO/orbsvcs/orbsvcs/Naming/Storable_Naming_Context.cpp6
-rw-r--r--TAO/orbsvcs/orbsvcs/Notify/Any/ProxyPushSupplier.cpp2
-rw-r--r--TAO/orbsvcs/orbsvcs/Notify/Any/PushConsumer.cpp4
-rw-r--r--TAO/orbsvcs/orbsvcs/Notify/Any/PushSupplier.cpp4
-rw-r--r--TAO/orbsvcs/orbsvcs/Notify/Consumer.cpp8
-rw-r--r--TAO/orbsvcs/orbsvcs/Notify/ETCL_Filter.cpp4
-rw-r--r--TAO/orbsvcs/orbsvcs/Notify/EventChannelFactory.cpp2
-rw-r--r--TAO/orbsvcs/orbsvcs/Notify/Notify_Constraint_Visitors.cpp20
-rw-r--r--TAO/orbsvcs/orbsvcs/Notify/Peer.cpp8
-rw-r--r--TAO/orbsvcs/orbsvcs/Notify/Reconnection_Registry.cpp2
-rw-r--r--TAO/orbsvcs/orbsvcs/Notify/Routing_Slip.cpp2
-rw-r--r--TAO/orbsvcs/orbsvcs/Notify/Sequence/SequenceProxyPushConsumer.cpp2
-rw-r--r--TAO/orbsvcs/orbsvcs/Notify/Sequence/SequenceProxyPushSupplier.cpp2
-rw-r--r--TAO/orbsvcs/orbsvcs/Notify/Sequence/SequencePushConsumer.cpp6
-rw-r--r--TAO/orbsvcs/orbsvcs/Notify/Sequence/SequencePushSupplier.cpp2
-rw-r--r--TAO/orbsvcs/orbsvcs/Notify/Structured/StructuredProxyPushConsumer.cpp2
-rw-r--r--TAO/orbsvcs/orbsvcs/Notify/Structured/StructuredProxyPushSupplier.cpp2
-rw-r--r--TAO/orbsvcs/orbsvcs/Notify/Structured/StructuredPushConsumer.cpp4
-rw-r--r--TAO/orbsvcs/orbsvcs/Notify/Structured/StructuredPushSupplier.cpp2
-rw-r--r--TAO/orbsvcs/orbsvcs/PortableGroup/PG_GenericFactory.cpp10
-rw-r--r--TAO/orbsvcs/orbsvcs/PortableGroup/PG_Group_Guard.cpp2
-rw-r--r--TAO/orbsvcs/orbsvcs/PortableGroup/PG_ObjectGroupManager.cpp6
-rw-r--r--TAO/orbsvcs/orbsvcs/PortableGroup/PG_Object_Group.cpp4
-rw-r--r--TAO/orbsvcs/orbsvcs/Property/CosPropertyService_i.cpp4
-rw-r--r--TAO/orbsvcs/orbsvcs/Trader/Constraint_Nodes.cpp6
-rw-r--r--TAO/orbsvcs/orbsvcs/Trader/Constraint_Visitors.cpp24
-rw-r--r--TAO/orbsvcs/orbsvcs/Trader/Interpreter_Utils_T.cpp2
-rw-r--r--TAO/orbsvcs/orbsvcs/Trader/Offer_Iterators.cpp2
-rw-r--r--TAO/orbsvcs/orbsvcs/Trader/Service_Type_Repository.cpp2
-rw-r--r--TAO/orbsvcs/orbsvcs/Trader/Trader_Constraint_Visitors.cpp2
-rw-r--r--TAO/orbsvcs/orbsvcs/Trader/Trader_Interfaces.cpp6
-rw-r--r--TAO/orbsvcs/orbsvcs/Trader/Trader_T.cpp2
-rw-r--r--TAO/orbsvcs/orbsvcs/Trader/Trader_Utils.cpp2
-rw-r--r--TAO/orbsvcs/orbsvcs/Trader/Trading_Loader.cpp2
-rw-r--r--TAO/orbsvcs/performance-tests/RTEvent/lib/Auto_Disconnect.inl2
-rw-r--r--TAO/orbsvcs/performance-tests/RTEvent/lib/Loopback_Consumer.cpp2
-rw-r--r--TAO/orbsvcs/performance-tests/RTEvent/lib/ORB_Shutdown.inl2
-rw-r--r--TAO/orbsvcs/performance-tests/RTEvent/lib/ORB_Task.cpp2
-rw-r--r--TAO/orbsvcs/performance-tests/RTEvent/lib/Shutdown.inl2
-rw-r--r--TAO/orbsvcs/performance-tests/RTEvent/lib/Supplier.cpp2
-rw-r--r--TAO/orbsvcs/tests/AVStreams/Component_Switching/Connection_Manager.cpp14
-rw-r--r--TAO/orbsvcs/tests/Concurrency/CC_client.cpp2
-rw-r--r--TAO/orbsvcs/tests/Concurrency/CC_command.cpp2
-rw-r--r--TAO/orbsvcs/tests/EC_Custom_Marshal/ECM_Supplier.cpp6
-rw-r--r--TAO/orbsvcs/tests/EC_Mcast/EC_Mcast.cpp2
-rw-r--r--TAO/orbsvcs/tests/EC_Multiple/EC_Multiple.cpp2
-rw-r--r--TAO/orbsvcs/tests/Event/Basic/MT_Disconnect.cpp2
-rw-r--r--TAO/orbsvcs/tests/Event/Basic/Random.cpp4
-rw-r--r--TAO/orbsvcs/tests/Event/Basic/Reconnect.cpp4
-rw-r--r--TAO/orbsvcs/tests/Event/Mcast/Common/EC_Wrapper.cpp4
-rw-r--r--TAO/orbsvcs/tests/Event/Mcast/Two_Way/application.cpp2
-rw-r--r--TAO/orbsvcs/tests/Event/lib/Counting_Supplier.cpp2
-rw-r--r--TAO/orbsvcs/tests/FT_App/FT_Client.cpp2
-rw-r--r--TAO/orbsvcs/tests/FT_App/StubFaultNotifier.cpp2
-rw-r--r--TAO/orbsvcs/tests/Interoperable_Naming/ncontextext_client_i.cpp2
-rw-r--r--TAO/orbsvcs/tests/Log/Basic_Log_Test/Basic_Log_Test.cpp18
-rw-r--r--TAO/orbsvcs/tests/Notify/Basic/AdminProperties.cpp6
-rw-r--r--TAO/orbsvcs/tests/Notify/lib/Peer_T.cpp4
-rw-r--r--TAO/orbsvcs/tests/Notify/performance-tests/RedGreen/RedGreen_Test.cpp2
-rw-r--r--TAO/orbsvcs/tests/Security/MT_IIOP_SSL/Client_Worker.cpp2
-rw-r--r--TAO/orbsvcs/tests/Trading/Offer_Exporter.cpp2
-rw-r--r--TAO/orbsvcs/tests/Trading/Service_Type_Exporter.cpp2
-rw-r--r--TAO/orbsvcs/tests/Trading/TT_Info.cpp2
-rw-r--r--TAO/orbsvcs/tests/Trading/colocated_test.cpp2
-rw-r--r--TAO/orbsvcs/tests/Trading/export_test.cpp2
-rw-r--r--TAO/orbsvcs/tests/Trading/import_test.cpp2
-rw-r--r--TAO/orbsvcs/tests/tests_svc_loader/tests_svc_loader.cpp2
-rw-r--r--TAO/performance-tests/CSD_Strategy/TestInf/AppHelper.cpp2
-rw-r--r--TAO/performance-tests/CSD_Strategy/TestServant/Foo_ClientEngine.cpp2
-rw-r--r--TAO/performance-tests/Cubit/TAO/IDL_Cubit/Cubit_Client.cpp2
-rw-r--r--TAO/performance-tests/Latency/Collocation/Collocated_Test.cpp2
-rw-r--r--TAO/performance-tests/Protocols/distributor.cpp4
-rw-r--r--TAO/performance-tests/Protocols/sender.cpp4
-rw-r--r--TAO/performance-tests/Sequence_Latency/AMI/Server_Task.cpp2
-rw-r--r--TAO/performance-tests/Sequence_Latency/Thread_Per_Connection/Client_Task.cpp4
-rw-r--r--TAO/performance-tests/Sequence_Latency/Thread_Pool/Worker_Thread.cpp2
-rw-r--r--TAO/performance-tests/Throughput/Receiver.cpp2
-rw-r--r--TAO/tao/Transport.cpp2
-rw-r--r--TAO/tests/AMI_Buffering/AMI_Buffering.cpp2
-rw-r--r--TAO/tests/AMI_Timeouts/timeout_client.cpp2
-rw-r--r--TAO/tests/Big_Oneways/Session.cpp2
-rw-r--r--TAO/tests/Bug_1269_Regression/Server_Timer.cpp2
-rw-r--r--TAO/tests/Bug_1361_Regression/Server_Thread_Pool.cpp2
-rw-r--r--TAO/tests/Bug_1495_Regression/Threaded_Client.cpp2
-rw-r--r--TAO/tests/Bug_1535_Regression/bug_1535_regression.cpp2
-rw-r--r--TAO/tests/COIOP/COIOP_Test.cpp2
-rw-r--r--TAO/tests/CSD_Strategy_Tests/TP_Common/AppHelper.cpp2
-rw-r--r--TAO/tests/CSD_Strategy_Tests/TP_Foo_C/Foo_C_Custom_ClientEngine.cpp2
-rw-r--r--TAO/tests/Client_Leaks/Process_Factory.cpp2
-rw-r--r--TAO/tests/Client_Leaks/child.cpp2
-rw-r--r--TAO/tests/Collocation_Opportunities/Collocation_Opportunities.cpp2
-rw-r--r--TAO/tests/Crashed_Callback/Service.cpp6
-rw-r--r--TAO/tests/Faults/pong.cpp4
-rw-r--r--TAO/tests/LongUpcalls/AMI_Manager.cpp2
-rw-r--r--TAO/tests/LongUpcalls/Manager.cpp2
-rw-r--r--TAO/tests/Nested_Upcall_Crash/Server_Peer.cpp2
-rw-r--r--TAO/tests/Object_Loader/Loader.cpp2
-rw-r--r--TAO/tests/POA/Default_Servant/Default_Servant.cpp6
-rw-r--r--TAO/tests/POA/MT_Servant_Locator/MT_Servant_Locator.cpp4
-rw-r--r--TAO/tests/Param_Test/any.cpp2
-rw-r--r--TAO/tests/Param_Test/big_union.cpp2
-rw-r--r--TAO/tests/Param_Test/complex_any.cpp2
-rw-r--r--TAO/tests/Param_Test/except.cpp4
-rw-r--r--TAO/tests/Policies/Manipulation.cpp2
-rw-r--r--TAO/tests/RTScheduling/Scheduler.cpp2
-rw-r--r--TAO/tests/TransportCurrent/IIOP/IIOP_Server_Request_Interceptor.cpp10
-rw-r--r--TAO/utils/catior/catior.cpp8
206 files changed, 463 insertions, 455 deletions
diff --git a/TAO/ChangeLog b/TAO/ChangeLog
index 4689b86d226..1de847e8af5 100644
--- a/TAO/ChangeLog
+++ b/TAO/ChangeLog
@@ -1,3 +1,9 @@
+Fri Jan 26 13:46:23 UTC 2007 Chad Elliott <elliott_c@ociweb.com>
+
+ * *.{h,inl,cpp}:
+
+ Removed unused variable warnings from over 200 files.
+
Fri Jan 26 12:12:12 UTC 2007 Johnny Willemsen <jwillmesen@remedy.nl>
* tao/Wait_Strategy.cpp:
diff --git a/TAO/examples/AMI/FL_Callback/Peer_i.cpp b/TAO/examples/AMI/FL_Callback/Peer_i.cpp
index 1a7f44a5d8c..48699b49cdd 100644
--- a/TAO/examples/AMI/FL_Callback/Peer_i.cpp
+++ b/TAO/examples/AMI/FL_Callback/Peer_i.cpp
@@ -139,7 +139,7 @@ Peer_Task::svc (void)
this->progress_->sent_request (this->id_);
}
- catch (const CORBA::Exception& ex)
+ catch (const CORBA::Exception&)
{
// Ignore exceptions;
}
diff --git a/TAO/examples/Callback_Quoter/Notifier_Input_Handler.cpp b/TAO/examples/Callback_Quoter/Notifier_Input_Handler.cpp
index 743e0bbac80..bcf34e90c32 100644
--- a/TAO/examples/Callback_Quoter/Notifier_Input_Handler.cpp
+++ b/TAO/examples/Callback_Quoter/Notifier_Input_Handler.cpp
@@ -78,7 +78,7 @@ Notifier_Input_Handler::init_naming_service (void)
notifier_obj.in());
}
- catch (const CosNaming::NamingContext::AlreadyBound& ex)
+ catch (const CosNaming::NamingContext::AlreadyBound&)
{
ACE_ERROR_RETURN ((LM_ERROR,
"Unable to bind %s \n",
diff --git a/TAO/examples/Event_Comm/Consumer_Handler.cpp b/TAO/examples/Event_Comm/Consumer_Handler.cpp
index ed40e2a714f..b471eba752f 100644
--- a/TAO/examples/Event_Comm/Consumer_Handler.cpp
+++ b/TAO/examples/Event_Comm/Consumer_Handler.cpp
@@ -139,7 +139,7 @@ Consumer_Handler::run (void)
{
this->orb_->run ();
}
- catch (const CORBA::Exception& ex)
+ catch (const CORBA::Exception&)
{
}
return 0;
diff --git a/TAO/examples/Event_Comm/Notifier_Server.cpp b/TAO/examples/Event_Comm/Notifier_Server.cpp
index 0140ac2c9e3..e1f2d8f0967 100644
--- a/TAO/examples/Event_Comm/Notifier_Server.cpp
+++ b/TAO/examples/Event_Comm/Notifier_Server.cpp
@@ -40,7 +40,7 @@ Notifier_Server::close (void)
// Instruct the ORB to shutdown.
this->orb_manager_.orb ()->shutdown ();
}
- catch (const CORBA::Exception& ex)
+ catch (const CORBA::Exception&)
{
return -1;
}
diff --git a/TAO/examples/Event_Comm/notifier.cpp b/TAO/examples/Event_Comm/notifier.cpp
index 5ed51496242..774eea4db30 100644
--- a/TAO/examples/Event_Comm/notifier.cpp
+++ b/TAO/examples/Event_Comm/notifier.cpp
@@ -24,7 +24,7 @@ Notifier::run (void)
{
ns_.run ();
}
- catch (const CORBA::Exception& ex)
+ catch (const CORBA::Exception&)
{
return;
}
diff --git a/TAO/examples/Load_Balancing_persistent/Identity_Server.cpp b/TAO/examples/Load_Balancing_persistent/Identity_Server.cpp
index 58049896658..d3b78ac3686 100644
--- a/TAO/examples/Load_Balancing_persistent/Identity_Server.cpp
+++ b/TAO/examples/Load_Balancing_persistent/Identity_Server.cpp
@@ -127,7 +127,7 @@ Identity_Server::register_groups (void)
{
factory->unbind_random ("Random group");
}
- catch (const CORBA::Exception& ex)
+ catch (const CORBA::Exception&)
{
ACE_DEBUG ((LM_DEBUG,
"(%N | %l) <Unbind> harmless here \n"));
@@ -138,7 +138,7 @@ Identity_Server::register_groups (void)
{
factory->unbind_round_robin ("Round Robin group");
}
- catch (const CORBA::Exception& ex)
+ catch (const CORBA::Exception&)
{
ACE_DEBUG ((LM_DEBUG,
"(%N | %l) <Unbind> harmless here \n"));
@@ -201,7 +201,7 @@ Identity_Server::create_objects (size_t number_of_objects,
{
group->unbind (id);
}
- catch (const CORBA::Exception& ex)
+ catch (const CORBA::Exception&)
{
ACE_DEBUG ((LM_DEBUG,
"(%N | %l) Harmless here \n"));
diff --git a/TAO/examples/PluggableUDP/tests/Basic/UDP_i.cpp b/TAO/examples/PluggableUDP/tests/Basic/UDP_i.cpp
index 6b2b648dfb2..034a06c97d5 100644
--- a/TAO/examples/PluggableUDP/tests/Basic/UDP_i.cpp
+++ b/TAO/examples/PluggableUDP/tests/Basic/UDP_i.cpp
@@ -64,7 +64,7 @@ UDP_i::invoke (const char * client_name,
}
}
- catch (const CORBA::Exception& ex)
+ catch (const CORBA::Exception&)
{
ACE_DEBUG ((LM_DEBUG,
"UDP_i::svc: Received exception\n"));
diff --git a/TAO/examples/Quoter/Factory_Finder_i.cpp b/TAO/examples/Quoter/Factory_Finder_i.cpp
index d15d99562bc..760a754b968 100644
--- a/TAO/examples/Quoter/Factory_Finder_i.cpp
+++ b/TAO/examples/Quoter/Factory_Finder_i.cpp
@@ -96,7 +96,7 @@ Quoter_Factory_Finder_i::find_factories (const CosLifeCycle::Key &factory_key)
ACE_DEBUG ((LM_DEBUG,
"Factory Finder: Have reference to a Quoter Factory.\n"));
}
- catch (const CORBA::Exception& ex)
+ catch (const CORBA::Exception&)
{
ACE_ERROR ((LM_ERROR, "Quoter_Factory_Finder::find_factories - %s\n", exception_message));
ACE_THROW_RETURN (CosLifeCycle::NoFactory (factory_key), 0);
diff --git a/TAO/examples/Quoter/Generic_Factory_i.cpp b/TAO/examples/Quoter/Generic_Factory_i.cpp
index 694e0fdb6d1..b8b31a9f546 100644
--- a/TAO/examples/Quoter/Generic_Factory_i.cpp
+++ b/TAO/examples/Quoter/Generic_Factory_i.cpp
@@ -77,7 +77,7 @@ Quoter_Generic_Factory_i::get_naming_context (const CosLifeCycle::Key &factory_k
quoterNamingContext_var =
CosNaming::NamingContext::_narrow (quoterNamingObj_var.in ());
}
- catch (const CORBA::Exception& ex)
+ catch (const CORBA::Exception&)
{
ACE_THROW_RETURN (CosLifeCycle::NoFactory (factory_key),
CosNaming::NamingContext::_nil ());
@@ -150,7 +150,7 @@ Quoter_Generic_Factory_i::create_object (const CosLifeCycle::Key &factory_key,
ACE_DEBUG ((LM_DEBUG, "Generic_Factory: Return an object reference to a new object.\n"));
}
- catch (const CORBA::Exception& ex)
+ catch (const CORBA::Exception&)
{
ACE_THROW_RETURN (CosLifeCycle::NoFactory (factory_key),
CORBA::Object::_nil ());
diff --git a/TAO/examples/Simple/Simple_util.cpp b/TAO/examples/Simple/Simple_util.cpp
index d64a5b14bc5..f8055d55ad2 100644
--- a/TAO/examples/Simple/Simple_util.cpp
+++ b/TAO/examples/Simple/Simple_util.cpp
@@ -105,7 +105,7 @@ Server<Servant>::test_for_ins (CORBA::String_var ior)
adapter->bind (this->ins_, ior.in ());
}
- catch (const CORBA::Exception& ex)
+ catch (const CORBA::Exception&)
{
}
@@ -242,7 +242,7 @@ Server<Servant>::register_name (void)
-1);
}
}
- catch (const CosNaming::NamingContext::AlreadyBound& ex)
+ catch (const CosNaming::NamingContext::AlreadyBound&)
{
ACE_ERROR_RETURN ((LM_ERROR,
"Unable to bind %s \n",
diff --git a/TAO/examples/Simple/bank/Bank_Client_i.cpp b/TAO/examples/Simple/bank/Bank_Client_i.cpp
index 53431f45e4a..cb329902373 100644
--- a/TAO/examples/Simple/bank/Bank_Client_i.cpp
+++ b/TAO/examples/Simple/bank/Bank_Client_i.cpp
@@ -35,7 +35,7 @@ Bank_Client_i::run (const char *name,
if (client.shutdown () == 1)
client->shutdown ();
}
- catch (const CORBA::Exception& ex)
+ catch (const CORBA::Exception&)
{
ACE_DEBUG ((LM_DEBUG,
"\nException caught in run\n"));
@@ -61,7 +61,7 @@ Bank_Client_i::check_accounts (void )
"\nTests for overdrafts\n"));
this->test_for_overdraft ();
}
- catch (const CORBA::Exception& ex)
+ catch (const CORBA::Exception&)
{
ACE_DEBUG ((LM_DEBUG,
"From Bank_Client_i::check_accounts()"));
diff --git a/TAO/examples/Simulator/Event_Supplier/DOVE_Supplier.cpp b/TAO/examples/Simulator/Event_Supplier/DOVE_Supplier.cpp
index 6a28a2ea93d..654cee6b006 100644
--- a/TAO/examples/Simulator/Event_Supplier/DOVE_Supplier.cpp
+++ b/TAO/examples/Simulator/Event_Supplier/DOVE_Supplier.cpp
@@ -266,7 +266,7 @@ DOVE_Supplier::notify (CORBA::Any &message)
// Now we invoke a RPC
this->current_connection_params_->proxyPushConsumer_var_->push (events);
}
- catch (const CORBA::Exception& ex)
+ catch (const CORBA::Exception&)
{
ACE_ERROR ((LM_ERROR,
"DOVE_Supplier::notify: "
@@ -336,7 +336,7 @@ DOVE_Supplier::get_Scheduler ()
this->current_connection_params_->scheduler_var_ =
RtecScheduler::Scheduler::_narrow(objref.in ());
}
- catch (const CORBA::Exception& ex)
+ catch (const CORBA::Exception&)
{
current_connection_params_->scheduler_var_ = 0;
ACE_ERROR_RETURN ((LM_ERROR,
diff --git a/TAO/examples/Simulator/Event_Supplier/DualEC_Sup.cpp b/TAO/examples/Simulator/Event_Supplier/DualEC_Sup.cpp
index 8385f709060..bdedb6c27ff 100644
--- a/TAO/examples/Simulator/Event_Supplier/DualEC_Sup.cpp
+++ b/TAO/examples/Simulator/Event_Supplier/DualEC_Sup.cpp
@@ -366,7 +366,7 @@ DualEC_Supplier::run_nav_thread (void *arg)
while (++total_sent < sup->total_messages_);
}
- catch (const CORBA::Exception& ex)
+ catch (const CORBA::Exception&)
{
}
@@ -435,7 +435,7 @@ DualEC_Supplier::run_weap_thread (void *arg)
while (++total_sent < sup->total_messages_);
}
- catch (const CORBA::Exception& ex)
+ catch (const CORBA::Exception&)
{
}
diff --git a/TAO/examples/Simulator/Event_Supplier/Event_Con.cpp b/TAO/examples/Simulator/Event_Supplier/Event_Con.cpp
index d98988aaaa2..0ae7315b44f 100644
--- a/TAO/examples/Simulator/Event_Supplier/Event_Con.cpp
+++ b/TAO/examples/Simulator/Event_Supplier/Event_Con.cpp
@@ -122,7 +122,7 @@ Demo_Consumer::open_consumer (RtecEventChannelAdmin::EventChannel_ptr ec,
"Demo_Consumer::open: subscribe failed.\n"),
-1);
}
- catch (const CORBA::Exception& ex)
+ catch (const CORBA::Exception&)
{
ACE_ERROR_RETURN ((LM_ERROR,
"Demo_Consumer::open: unexpected exception.\n"),
@@ -196,7 +196,7 @@ Demo_Consumer::push (const RtecEventComm::EventSet &events)
}
}
}
- catch (const CORBA::Exception& ex)
+ catch (const CORBA::Exception&)
{
ACE_ERROR ((LM_ERROR, "(%t)Error in extracting the Navigation and Weapons data.\n"));
}
@@ -217,7 +217,7 @@ Demo_Consumer::shutdown (void)
TAO_ORB_Core_instance ()->orb ()->shutdown ();
}
- catch (const CORBA::Exception& ex)
+ catch (const CORBA::Exception&)
{
ACE_ERROR ((LM_ERROR,
"(%t) Demo_Consumer::shutdown: unexpected exception.\n"));
diff --git a/TAO/examples/Simulator/Event_Supplier/Event_Sup.cpp b/TAO/examples/Simulator/Event_Supplier/Event_Sup.cpp
index 31032eb5ce5..6da0105f123 100644
--- a/TAO/examples/Simulator/Event_Supplier/Event_Sup.cpp
+++ b/TAO/examples/Simulator/Event_Supplier/Event_Sup.cpp
@@ -365,7 +365,7 @@ Event_Supplier::insert_event_data (CORBA::Any &data,
if (schedule_iter.done ())
schedule_iter.first ();
}
- catch (const CORBA::Exception& ex)
+ catch (const CORBA::Exception&)
{
ACE_ERROR ((LM_ERROR,
"(%t)Error in Event_Supplier::insert_event_data.\n"));
diff --git a/TAO/examples/Simulator/Event_Supplier/Logging_Sup.cpp b/TAO/examples/Simulator/Event_Supplier/Logging_Sup.cpp
index 18eee57a187..d5f252e0406 100644
--- a/TAO/examples/Simulator/Event_Supplier/Logging_Sup.cpp
+++ b/TAO/examples/Simulator/Event_Supplier/Logging_Sup.cpp
@@ -402,7 +402,7 @@ Logging_Supplier::insert_event_data (CORBA::Any &data,
if (schedule_iter.done ())
schedule_iter.first ();
}
- catch (const CORBA::Exception& ex)
+ catch (const CORBA::Exception&)
{
ACE_ERROR ((LM_ERROR,
"(%t)Error in Logging_Supplier::insert_event_data.\n"));
diff --git a/TAO/examples/ior_corbaloc/corbaname_client.cpp b/TAO/examples/ior_corbaloc/corbaname_client.cpp
index 4232b3bf3f8..071964c8d02 100644
--- a/TAO/examples/ior_corbaloc/corbaname_client.cpp
+++ b/TAO/examples/ior_corbaloc/corbaname_client.cpp
@@ -64,7 +64,7 @@ int main (int argc, char *argv [])
return 0;
}
- catch (const CORBA::SystemException& ex)
+ catch (const CORBA::SystemException&)
{
//
}
diff --git a/TAO/orbsvcs/FTRT_Event_Service/Gateway_Service/FTRTEC_Gateway_Service.cpp b/TAO/orbsvcs/FTRT_Event_Service/Gateway_Service/FTRTEC_Gateway_Service.cpp
index 8588d646113..946ed18646a 100644
--- a/TAO/orbsvcs/FTRT_Event_Service/Gateway_Service/FTRTEC_Gateway_Service.cpp
+++ b/TAO/orbsvcs/FTRT_Event_Service/Gateway_Service/FTRTEC_Gateway_Service.cpp
@@ -62,7 +62,7 @@ int parse_args(int argc, ACE_TCHAR** argv)
ACE_ERROR_RETURN((LM_ERROR, "Cannot Find FT_EventService\n"), -1);
}
}
- catch (const CORBA::Exception& ex){
+ catch (const CORBA::Exception&){
ACE_ERROR_RETURN((LM_ERROR, "Cannot Find FT_EventService\n"), -1);
}
return 0;
@@ -110,7 +110,7 @@ int main(int argc, ACE_TCHAR** argv)
orb->run();
}
- catch (const CORBA::Exception& ex){
+ catch (const CORBA::Exception&){
return 1;
}
return 0;
diff --git a/TAO/orbsvcs/Fault_Detector/Fault_Detector_i.cpp b/TAO/orbsvcs/Fault_Detector/Fault_Detector_i.cpp
index c60005ed755..6d8174af809 100644
--- a/TAO/orbsvcs/Fault_Detector/Fault_Detector_i.cpp
+++ b/TAO/orbsvcs/Fault_Detector/Fault_Detector_i.cpp
@@ -105,7 +105,7 @@ void TAO::Fault_Detector_i::run()
this->quit_requested_ = 1;
}
}
- catch (const CORBA::Exception& ex)// todo refine this
+ catch (const CORBA::Exception&)// todo refine this
{
ACE_ERROR ((LM_ERROR,
"FaultDetector FAULT: exception.\n"
diff --git a/TAO/orbsvcs/Fault_Notifier/FT_Notifier_i.cpp b/TAO/orbsvcs/Fault_Notifier/FT_Notifier_i.cpp
index ca006e1430a..2af2e7a10ef 100644
--- a/TAO/orbsvcs/Fault_Notifier/FT_Notifier_i.cpp
+++ b/TAO/orbsvcs/Fault_Notifier/FT_Notifier_i.cpp
@@ -232,7 +232,7 @@ int TAO::FT_FaultNotifier_i::fini (void)
"FaultNotifier unregistered from ReplicationManager.\n"
));
}
- catch (const CORBA::Exception& ex)
+ catch (const CORBA::Exception&)
{
ACE_DEBUG ((LM_DEBUG,
"FaultNotifier Can't unregister from ReplicationManager.\n"
diff --git a/TAO/orbsvcs/ImplRepo_Service/Activator_Loader.cpp b/TAO/orbsvcs/ImplRepo_Service/Activator_Loader.cpp
index 829fe560dd5..67044b8191c 100644
--- a/TAO/orbsvcs/ImplRepo_Service/Activator_Loader.cpp
+++ b/TAO/orbsvcs/ImplRepo_Service/Activator_Loader.cpp
@@ -49,7 +49,7 @@ ImR_Activator_Loader::init (int argc, ACE_TCHAR *argv[])
this->runner_.reset (new ImR_Activator_ORB_Runner (*this));
this->runner_->activate ();
}
- catch (const CORBA::Exception& ex)
+ catch (const CORBA::Exception&)
{
return -1;
}
@@ -68,7 +68,7 @@ ImR_Activator_Loader::fini (void)
this->runner_.reset (0);
return ret;
}
- catch (const CORBA::Exception& ex)
+ catch (const CORBA::Exception&)
{
return -1;
}
diff --git a/TAO/orbsvcs/ImplRepo_Service/Forwarder.cpp b/TAO/orbsvcs/ImplRepo_Service/Forwarder.cpp
index f07894ae8b3..6f4b0b2830c 100644
--- a/TAO/orbsvcs/ImplRepo_Service/Forwarder.cpp
+++ b/TAO/orbsvcs/ImplRepo_Service/Forwarder.cpp
@@ -45,7 +45,7 @@ ImR_Forwarder::init (CORBA::ORB_ptr orb)
this->poa_current_var_ =
PortableServer::Current::_narrow (tmp.in ());
}
- catch (const CORBA::Exception& ex)
+ catch (const CORBA::Exception&)
{
ACE_DEBUG ((LM_DEBUG, "ImR_Forwarder::init() Exception ignored.\n"));
}
@@ -113,7 +113,7 @@ ImR_Forwarder::preinvoke (const PortableServer::ObjectId &,
forward_obj =
this->orb_->string_to_object (ior.c_str ());
}
- catch (const ImplementationRepository::CannotActivate& ex)
+ catch (const ImplementationRepository::CannotActivate&)
{
throw CORBA::TRANSIENT (
CORBA::SystemException::_tao_minor_code (
@@ -121,7 +121,7 @@ ImR_Forwarder::preinvoke (const PortableServer::ObjectId &,
0),
CORBA::COMPLETED_NO);
}
- catch (const ImplementationRepository::NotFound& ex)
+ catch (const ImplementationRepository::NotFound&)
{
throw CORBA::TRANSIENT (
CORBA::SystemException::_tao_minor_code (
diff --git a/TAO/orbsvcs/ImplRepo_Service/INS_Locator.cpp b/TAO/orbsvcs/ImplRepo_Service/INS_Locator.cpp
index 390d7b21b23..afa06a09a1f 100644
--- a/TAO/orbsvcs/ImplRepo_Service/INS_Locator.cpp
+++ b/TAO/orbsvcs/ImplRepo_Service/INS_Locator.cpp
@@ -47,7 +47,7 @@ ACE_THROW_SPEC ((CORBA::SystemException, IORTable::NotFound))
return CORBA::string_dup (tmp.c_str ());
}
- catch (const ImplementationRepository::CannotActivate& ex)
+ catch (const ImplementationRepository::CannotActivate&)
{
throw CORBA::TRANSIENT (
CORBA::SystemException::_tao_minor_code (
@@ -55,7 +55,7 @@ ACE_THROW_SPEC ((CORBA::SystemException, IORTable::NotFound))
0),
CORBA::COMPLETED_NO);
}
- catch (const ImplementationRepository::NotFound& ex)
+ catch (const ImplementationRepository::NotFound&)
{
throw CORBA::TRANSIENT (
CORBA::SystemException::_tao_minor_code (
diff --git a/TAO/orbsvcs/ImplRepo_Service/ImR_Activator_i.cpp b/TAO/orbsvcs/ImplRepo_Service/ImR_Activator_i.cpp
index 47ba784ff79..db232316c29 100644
--- a/TAO/orbsvcs/ImplRepo_Service/ImR_Activator_i.cpp
+++ b/TAO/orbsvcs/ImplRepo_Service/ImR_Activator_i.cpp
@@ -216,12 +216,12 @@ ImR_Activator_i::fini (void)
this->registration_token_);
}
}
- catch (const CORBA::COMM_FAILURE& ex)
+ catch (const CORBA::COMM_FAILURE&)
{
if (debug_ > 1)
ACE_DEBUG ((LM_DEBUG, "ImR Activator: Unable to unregister from ImR.\n"));
}
- catch (const CORBA::TRANSIENT& ex)
+ catch (const CORBA::TRANSIENT&)
{
if (debug_ > 1)
ACE_DEBUG ((LM_DEBUG, "ImR Activator: Unable to unregister from ImR.\n"));
diff --git a/TAO/orbsvcs/ImplRepo_Service/ImR_Locator_i.cpp b/TAO/orbsvcs/ImplRepo_Service/ImR_Locator_i.cpp
index 6514799a146..7b9dfe74f2f 100644
--- a/TAO/orbsvcs/ImplRepo_Service/ImR_Locator_i.cpp
+++ b/TAO/orbsvcs/ImplRepo_Service/ImR_Locator_i.cpp
@@ -678,7 +678,7 @@ ACE_THROW_SPEC ((CORBA::SystemException,
info.starting = false;
}
}
- catch (const CORBA::TIMEOUT& ex)
+ catch (const CORBA::TIMEOUT&)
{
--waiting_clients;
info.starting = false;
@@ -692,7 +692,7 @@ ACE_THROW_SPEC ((CORBA::SystemException,
info.reset ();
}
}
- catch (const ImplementationRepository::CannotActivate& ex)
+ catch (const ImplementationRepository::CannotActivate&)
{
--waiting_clients;
info.starting = false;
@@ -894,7 +894,7 @@ ImR_Locator_i::findPOA (const char* name)
bool activate_it = false;
return root_poa_->find_POA (name, activate_it);
}
- catch (const CORBA::Exception& ex)
+ catch (const CORBA::Exception&)
{// Ignore
}
return PortableServer::POA::_nil ();
@@ -933,7 +933,7 @@ ACE_THROW_SPEC ((CORBA::SystemException, ImplementationRepository::NotFound))
ImplementationRepository::ServerObject::_unchecked_narrow (obj.in ());
server->shutdown ();
}
- catch (const CORBA::TIMEOUT& ex)
+ catch (const CORBA::TIMEOUT&)
{
info->reset ();
int err = this->repository_.update_server (*info);
@@ -947,7 +947,7 @@ ACE_THROW_SPEC ((CORBA::SystemException, ImplementationRepository::NotFound))
}
throw;
}
- catch (const CORBA::Exception& ex)
+ catch (const CORBA::Exception&)
{
if (this->debug_ > 1)
{
@@ -1143,7 +1143,7 @@ ImR_Locator_i::list (CORBA::ULong how_many,
server_iterator = ImplementationRepository::
ServerInformationIterator::_unchecked_narrow (obj.in ());
}
- catch (const CORBA::Exception& ex)
+ catch (const CORBA::Exception&)
{
throw;
}
@@ -1195,7 +1195,7 @@ ImR_Locator_i::connect_activator (Activator_Info& info)
if (debug_ > 1)
ACE_DEBUG ((LM_DEBUG, "ImR: Connected to activator <%s>\n", info.name.c_str ()));
}
- catch (const CORBA::Exception& ex)
+ catch (const CORBA::Exception&)
{
info.reset ();
}
@@ -1278,7 +1278,7 @@ ImR_Locator_i::connect_server (Server_Info& info)
if (debug_ > 1)
ACE_DEBUG ((LM_DEBUG, "ImR: Connected to server <%s>\n", info.name.c_str ()));
}
- catch (const CORBA::Exception& ex)
+ catch (const CORBA::Exception&)
{
info.reset ();
}
@@ -1445,7 +1445,7 @@ ImR_Locator_i::is_alive_i (Server_Info& info)
return 0;
}
}
- catch (const CORBA::TIMEOUT& ex)
+ catch (const CORBA::TIMEOUT&)
{
if (debug_ > 1)
{
diff --git a/TAO/orbsvcs/ImplRepo_Service/Locator_Loader.cpp b/TAO/orbsvcs/ImplRepo_Service/Locator_Loader.cpp
index 6c8c93e2bda..36d09e380e6 100644
--- a/TAO/orbsvcs/ImplRepo_Service/Locator_Loader.cpp
+++ b/TAO/orbsvcs/ImplRepo_Service/Locator_Loader.cpp
@@ -43,7 +43,7 @@ ImR_Locator_Loader::init (int argc, ACE_TCHAR *argv[])
this->runner_.reset(new ImR_Locator_ORB_Runner (*this));
this->runner_->activate ();
}
- catch (const CORBA::Exception& ex)
+ catch (const CORBA::Exception&)
{
return -1;
}
@@ -62,7 +62,7 @@ ImR_Locator_Loader::fini (void)
this->runner_.reset (0);
return ret;
}
- catch (const CORBA::Exception& ex)
+ catch (const CORBA::Exception&)
{
}
return -1;
diff --git a/TAO/orbsvcs/ImplRepo_Service/tao_imr_i.cpp b/TAO/orbsvcs/ImplRepo_Service/tao_imr_i.cpp
index 988f9d1d4b6..e4c24429e85 100644
--- a/TAO/orbsvcs/ImplRepo_Service/tao_imr_i.cpp
+++ b/TAO/orbsvcs/ImplRepo_Service/tao_imr_i.cpp
@@ -707,12 +707,12 @@ TAO_IMR_Op_Activate::run (void)
ex.reason.in ()));
return TAO_IMR_Op::CANNOT_ACTIVATE;
}
- catch (const ImplementationRepository::NotFound& ex)
+ catch (const ImplementationRepository::NotFound&)
{
ACE_ERROR ((LM_ERROR, "Could not find server <%s>.\n", this->server_name_.c_str ()));
return TAO_IMR_Op::NOT_FOUND;
}
- catch (const PortableServer::ForwardRequest& ex)
+ catch (const PortableServer::ForwardRequest&)
{
throw;
}
@@ -885,7 +885,7 @@ TAO_IMR_Op_List::run (void)
this->display_server_information (si.in ());
}
}
- catch (const ImplementationRepository::NotFound& ex)
+ catch (const ImplementationRepository::NotFound&)
{
ACE_ERROR ((LM_ERROR, "Could not find server <%s>.\n", this->server_name_.c_str ()));
return TAO_IMR_Op::NOT_FOUND;
@@ -911,13 +911,13 @@ TAO_IMR_Op_Remove::run (void)
ACE_DEBUG ((LM_DEBUG, "Successfully removed server <%s>\n",
this->server_name_.c_str ()));
}
- catch (const ImplementationRepository::NotFound& ex)
+ catch (const ImplementationRepository::NotFound&)
{
ACE_ERROR ((LM_ERROR, "Could not find server <%s>.\n",
this->server_name_.c_str ()));
return TAO_IMR_Op::NOT_FOUND;
}
- catch (const CORBA::NO_PERMISSION& ex)
+ catch (const CORBA::NO_PERMISSION&)
{
ACE_ERROR ((LM_ERROR, "No Permission: ImplRepo is in Locked mode\n"));
return TAO_IMR_Op::NO_PERMISSION;
@@ -943,12 +943,12 @@ TAO_IMR_Op_Shutdown::run (void)
ACE_DEBUG ((LM_DEBUG, "Successfully shut down server <%s>\n",
this->server_name_.c_str ()));
}
- catch (const ImplementationRepository::NotFound& ex)
+ catch (const ImplementationRepository::NotFound&)
{
ACE_ERROR ((LM_ERROR, "Server <%s> already shut down.\n", this->server_name_.c_str ()));
return TAO_IMR_Op::NOT_FOUND;
}
- catch (const CORBA::TIMEOUT& ex)
+ catch (const CORBA::TIMEOUT&)
{
ACE_DEBUG ((LM_DEBUG, "Timeout waiting for <%s> to shutdown.\n",
this->server_name_.c_str ()));
@@ -974,7 +974,7 @@ TAO_IMR_Op_ShutdownRepo::run (void)
ACE_DEBUG ((LM_DEBUG, "ImR shutdown initiated.\n"));
}
- catch (const CORBA::TIMEOUT& ex)
+ catch (const CORBA::TIMEOUT&)
{
ACE_DEBUG ((LM_DEBUG, "Timeout waiting for ImR shutdown.\n"));
}
@@ -1052,7 +1052,7 @@ TAO_IMR_Op_Register::run (void)
ACE_DEBUG((LM_DEBUG, "Successfully registered <%s>.\n", this->server_name_.c_str ()));
}
- catch (const CORBA::NO_PERMISSION& ex)
+ catch (const CORBA::NO_PERMISSION&)
{
ACE_ERROR ((LM_ERROR, "No Permission: ImplRepo is in Locked mode\n"));
return TAO_IMR_Op::NO_PERMISSION;
diff --git a/TAO/orbsvcs/LifeCycle_Service/LifeCycle_Service_i.cpp b/TAO/orbsvcs/LifeCycle_Service/LifeCycle_Service_i.cpp
index 1e9e4c158ec..0bf2b51d52f 100644
--- a/TAO/orbsvcs/LifeCycle_Service/LifeCycle_Service_i.cpp
+++ b/TAO/orbsvcs/LifeCycle_Service/LifeCycle_Service_i.cpp
@@ -98,7 +98,7 @@ Life_Cycle_Service_i::create_object (const CosLifeCycle::Key &factory_key,
genericFactory_var =
CosLifeCycle::GenericFactory::_narrow (genericFactoryObj_ptr);
}
- catch (const CORBA::Exception& ex)
+ catch (const CORBA::Exception&)
{
// see if there is an exception, if yes then throw the
// NoFactory exception throw a NoFactory exception
diff --git a/TAO/orbsvcs/Logging_Service/Basic_Logging_Service/Basic_Logging_Service.cpp b/TAO/orbsvcs/Logging_Service/Basic_Logging_Service/Basic_Logging_Service.cpp
index c9b50d21f7e..607b2f29bcd 100644
--- a/TAO/orbsvcs/Logging_Service/Basic_Logging_Service/Basic_Logging_Service.cpp
+++ b/TAO/orbsvcs/Logging_Service/Basic_Logging_Service/Basic_Logging_Service.cpp
@@ -202,7 +202,7 @@ Basic_Logging_Service::svc (void)
{
this->orb_->run ();
}
- catch (const CORBA::Exception& ex)
+ catch (const CORBA::Exception&)
{
return -1;
}
diff --git a/TAO/orbsvcs/Logging_Service/Event_Logging_Service/Event_Logging_Service.cpp b/TAO/orbsvcs/Logging_Service/Event_Logging_Service/Event_Logging_Service.cpp
index 8cb5f6492a4..66964651c06 100644
--- a/TAO/orbsvcs/Logging_Service/Event_Logging_Service/Event_Logging_Service.cpp
+++ b/TAO/orbsvcs/Logging_Service/Event_Logging_Service/Event_Logging_Service.cpp
@@ -207,7 +207,7 @@ Event_Logging_Service::svc (void)
{
this->orb_->run ();
}
- catch (const CORBA::Exception& ex)
+ catch (const CORBA::Exception&)
{
return -1;
}
diff --git a/TAO/orbsvcs/Logging_Service/Notify_Logging_Service/Notify_Logging_Service.cpp b/TAO/orbsvcs/Logging_Service/Notify_Logging_Service/Notify_Logging_Service.cpp
index 8b09945cdd7..8de11dd73a0 100644
--- a/TAO/orbsvcs/Logging_Service/Notify_Logging_Service/Notify_Logging_Service.cpp
+++ b/TAO/orbsvcs/Logging_Service/Notify_Logging_Service/Notify_Logging_Service.cpp
@@ -229,7 +229,7 @@ Notify_Logging_Service::svc (void)
{
this->orb_->run ();
}
- catch (const CORBA::Exception& ex)
+ catch (const CORBA::Exception&)
{
return -1;
}
diff --git a/TAO/orbsvcs/Logging_Service/RTEvent_Logging_Service/RTEvent_Logging_Service.cpp b/TAO/orbsvcs/Logging_Service/RTEvent_Logging_Service/RTEvent_Logging_Service.cpp
index 3166aab62c9..6d46dfea129 100644
--- a/TAO/orbsvcs/Logging_Service/RTEvent_Logging_Service/RTEvent_Logging_Service.cpp
+++ b/TAO/orbsvcs/Logging_Service/RTEvent_Logging_Service/RTEvent_Logging_Service.cpp
@@ -212,7 +212,7 @@ RTEvent_Logging_Service::svc (void)
{
this->orb_->run ();
}
- catch (const CORBA::Exception& ex)
+ catch (const CORBA::Exception&)
{
return -1;
}
diff --git a/TAO/orbsvcs/Notify_Service/Notify_Service.cpp b/TAO/orbsvcs/Notify_Service/Notify_Service.cpp
index b00423c6575..2eb34764ab2 100644
--- a/TAO/orbsvcs/Notify_Service/Notify_Service.cpp
+++ b/TAO/orbsvcs/Notify_Service/Notify_Service.cpp
@@ -451,7 +451,7 @@ Worker::svc (void)
this->orb_->run ();
}
- catch (const CORBA::Exception& ex)
+ catch (const CORBA::Exception&)
{
}
return 0;
diff --git a/TAO/orbsvcs/examples/CosEC/Factory/CosEventChannelFactory_i.cpp b/TAO/orbsvcs/examples/CosEC/Factory/CosEventChannelFactory_i.cpp
index 4c890f828b4..9ec72d46d84 100644
--- a/TAO/orbsvcs/examples/CosEC/Factory/CosEventChannelFactory_i.cpp
+++ b/TAO/orbsvcs/examples/CosEC/Factory/CosEventChannelFactory_i.cpp
@@ -122,42 +122,42 @@ TAO_CosEventChannelFactory_i::create (const char * channel_id,
ec_return = CosEventChannelAdmin::EventChannel::_narrow (obj.in ());
}
- catch (const PortableServer::POA::ServantAlreadyActive& sa_ex)
+ catch (const PortableServer::POA::ServantAlreadyActive&)
{
ACE_THROW_RETURN (CosEventChannelFactory::DuplicateChannel (),
ec_return._retn ());
}
- catch (const PortableServer::POA::ObjectAlreadyActive& oaa_ex)
+ catch (const PortableServer::POA::ObjectAlreadyActive&)
{
ACE_THROW_RETURN (CosEventChannelFactory::DuplicateChannel (),
ec_return._retn ());
}
- catch (const PortableServer::POA::WrongPolicy& wp_ex)
+ catch (const PortableServer::POA::WrongPolicy&)
{
ACE_THROW_RETURN (CORBA::UNKNOWN (),
ec_return._retn ());
}
- catch (const PortableServer::POA::ObjectNotActive& ona_ex)
+ catch (const PortableServer::POA::ObjectNotActive&)
{
ACE_THROW_RETURN (CosEventChannelFactory::BindFailed (),
ec_return._retn ());
}
- catch (const CosNaming::NamingContext::NotFound& nf_ex)
+ catch (const CosNaming::NamingContext::NotFound&)
{
ACE_THROW_RETURN (CosEventChannelFactory::BindFailed (),
ec_return._retn ());
}
- catch (const CosNaming::NamingContext::CannotProceed& cp_ex)
+ catch (const CosNaming::NamingContext::CannotProceed&)
{
ACE_THROW_RETURN (CosEventChannelFactory::BindFailed (),
ec_return._retn ());
}
- catch (const CosNaming::NamingContext::InvalidName& in_ex)
+ catch (const CosNaming::NamingContext::InvalidName&)
{
ACE_THROW_RETURN (CosEventChannelFactory::BindFailed (),
ec_return._retn ());
}
- catch (const CosNaming::NamingContext::AlreadyBound& ab)
+ catch (const CosNaming::NamingContext::AlreadyBound&)
{
ACE_THROW_RETURN (CosEventChannelFactory::BindFailed (),
ec_return._retn ());
@@ -204,19 +204,19 @@ TAO_CosEventChannelFactory_i::destroy
this->naming_->unbind (name);
}
}
- catch (const CosNaming::NamingContext::NotFound& nf_ex)
+ catch (const CosNaming::NamingContext::NotFound&)
{
return; // don't bother the user with exceptions if unbind fails.
}
- catch (const CosNaming::NamingContext::CannotProceed& cp_ex)
+ catch (const CosNaming::NamingContext::CannotProceed&)
{
return; // don't bother the user with exceptions if unbind fails.
}
- catch (const CosNaming::NamingContext::InvalidName& in_ex)
+ catch (const CosNaming::NamingContext::InvalidName&)
{
return; // don't bother the user with exceptions if unbind fails.
}
- catch (const CORBA::UserException& ue)// Translate any other user exception.
+ catch (const CORBA::UserException&)// Translate any other user exception.
{
throw CosEventChannelFactory::NoSuchChannel ();
}
@@ -246,7 +246,7 @@ TAO_CosEventChannelFactory_i::find
ec_return = CosEventChannelAdmin::EventChannel::_narrow (obj.in ());
}
- catch (const CORBA::UserException& ue)// Translate any user exception.
+ catch (const CORBA::UserException&)// Translate any user exception.
{
ACE_THROW_RETURN (CosEventChannelFactory::NoSuchChannel (),
ec_return._retn ());
@@ -275,7 +275,7 @@ TAO_CosEventChannelFactory_i::find_channel_id
str_return = PortableServer::ObjectId_to_string (oid.in ());
}
- catch (const CORBA::UserException& ue)// Translate any user exception.
+ catch (const CORBA::UserException&)// Translate any user exception.
{
ACE_THROW_RETURN (CosEventChannelFactory::NoSuchChannel (),
str_return._retn ());
diff --git a/TAO/orbsvcs/examples/CosEC/RtEC_Based/bin/RtEC_Based_CosEC.cpp b/TAO/orbsvcs/examples/CosEC/RtEC_Based/bin/RtEC_Based_CosEC.cpp
index d065ce77b11..fc4bd909e0e 100644
--- a/TAO/orbsvcs/examples/CosEC/RtEC_Based/bin/RtEC_Based_CosEC.cpp
+++ b/TAO/orbsvcs/examples/CosEC/RtEC_Based/bin/RtEC_Based_CosEC.cpp
@@ -212,7 +212,7 @@ RtEC_Based_CosEC::run (void)
{
this->orb_->run ();
}
- catch (const CORBA::Exception& ex)
+ catch (const CORBA::Exception&)
{
ACE_ERROR_RETURN ((LM_ERROR, "%p\n", "run"), 1);
}
diff --git a/TAO/orbsvcs/examples/CosEC/RtEC_Based/lib/ProxyPushSupplier_i.cpp b/TAO/orbsvcs/examples/CosEC/RtEC_Based/lib/ProxyPushSupplier_i.cpp
index df20e0046e1..5e64a573392 100644
--- a/TAO/orbsvcs/examples/CosEC/RtEC_Based/lib/ProxyPushSupplier_i.cpp
+++ b/TAO/orbsvcs/examples/CosEC/RtEC_Based/lib/ProxyPushSupplier_i.cpp
@@ -71,7 +71,7 @@ TAO_CosEC_PushConsumerWrapper::push (const RtecEventComm::EventSet& set)
{
this->consumer_->push (set[i].data.any_value);
}
- catch (const CORBA::Exception& ex)
+ catch (const CORBA::Exception&)
{
// Ignore the exception...
}
diff --git a/TAO/orbsvcs/examples/CosEC/RtEC_Based/tests/Multiple/Multiple.cpp b/TAO/orbsvcs/examples/CosEC/RtEC_Based/tests/Multiple/Multiple.cpp
index 18620778f22..a0ebbe627fc 100644
--- a/TAO/orbsvcs/examples/CosEC/RtEC_Based/tests/Multiple/Multiple.cpp
+++ b/TAO/orbsvcs/examples/CosEC/RtEC_Based/tests/Multiple/Multiple.cpp
@@ -112,7 +112,7 @@ Multiple::runORB (void)
{
this->orb_->run ();
}
- catch (const CORBA::Exception& ex)
+ catch (const CORBA::Exception&)
{
ACE_ERROR_RETURN ((LM_ERROR, "%p\n", "run"), 1);
}
diff --git a/TAO/orbsvcs/examples/Notify/ThreadPool/ORB_Run_Task.cpp b/TAO/orbsvcs/examples/Notify/ThreadPool/ORB_Run_Task.cpp
index 93abf1aba22..0b181bdf553 100644
--- a/TAO/orbsvcs/examples/Notify/ThreadPool/ORB_Run_Task.cpp
+++ b/TAO/orbsvcs/examples/Notify/ThreadPool/ORB_Run_Task.cpp
@@ -22,7 +22,7 @@ TAO_Notify_ORB_Run_Task::svc (void)
this->orb_objects_.orb_->run ();
}
- catch (const CORBA::Exception& ex)
+ catch (const CORBA::Exception&)
{
}
diff --git a/TAO/orbsvcs/orbsvcs/AV/AVStreams_i.cpp b/TAO/orbsvcs/orbsvcs/AV/AVStreams_i.cpp
index 0b0adcf3da4..3c7269ca701 100644
--- a/TAO/orbsvcs/orbsvcs/AV/AVStreams_i.cpp
+++ b/TAO/orbsvcs/orbsvcs/AV/AVStreams_i.cpp
@@ -743,7 +743,7 @@ TAO_StreamCtrl::bind_devs (AVStreams::MMDevice_ptr a_party,
}
}
}
- catch (const CORBA::Exception& ex)
+ catch (const CORBA::Exception&)
{
// Since the full profile failed try setting the source id
// for the sep instead.
@@ -792,7 +792,7 @@ TAO_StreamCtrl::bind_devs (AVStreams::MMDevice_ptr a_party,
the_flows);
connect_leaf_success = 1;
}
- catch (const AVStreams::notSupported& ex)
+ catch (const AVStreams::notSupported&)
{
if (TAO_debug_level > 0) ACE_DEBUG ((LM_DEBUG, "connect_leaf failed\n"));
connect_leaf_success = 0;
@@ -1052,7 +1052,7 @@ TAO_StreamCtrl::bind (AVStreams::StreamEndPoint_A_ptr sep_a,
flow_connection =
AVStreams::FlowConnection::_narrow (flow_connection_obj.in ());
}
- catch (const CORBA::Exception& ex)
+ catch (const CORBA::Exception&)
{
TAO_FlowConnection *flowConnection;
ACE_NEW_RETURN (flowConnection,
@@ -1095,7 +1095,7 @@ TAO_StreamCtrl::bind (AVStreams::StreamEndPoint_A_ptr sep_a,
ACE_ASSERT (!CORBA::is_nil (producer.in ()));
ACE_ASSERT (!CORBA::is_nil (consumer.in ()));
}
- catch (const CORBA::Exception& ex)
+ catch (const CORBA::Exception&)
{
//Yamuna : Recheck this
throw;//_EX (producer_check);
@@ -1134,7 +1134,7 @@ TAO_StreamCtrl::bind (AVStreams::StreamEndPoint_A_ptr sep_a,
return 0;
}
}
- catch (const CORBA::Exception& ex)
+ catch (const CORBA::Exception&)
{
// error was thrown because one of the streamendpoints is light profile.
// Now connect the streams together
@@ -1656,7 +1656,7 @@ TAO_StreamEndPoint::connect (AVStreams::StreamEndPoint_ptr responder,
}
}
}
- catch (const CORBA::Exception& ex)
+ catch (const CORBA::Exception&)
{
if (TAO_debug_level > 0) ACE_DEBUG ((LM_DEBUG, "Availableprotocols property not defined\n"));
}
@@ -2306,7 +2306,7 @@ TAO_StreamEndPoint::add_fep_i (AVStreams::FlowEndPoint_ptr fep)
flow_name_any >>= tmp;
flow_name = CORBA::string_dup (tmp);
}
- catch (const CORBA::Exception& ex)
+ catch (const CORBA::Exception&)
{
flow_name =
this->add_fep_i_add_property (fep);
@@ -2549,7 +2549,7 @@ TAO_StreamEndPoint_A::multiconnect (AVStreams::streamQoS &stream_qos,
this->streamctrl_->get_flow_connection (forward_entry->flowname ());
flow_connection = AVStreams::FlowConnection::_narrow (flow_connection_obj.in ());
}
- catch (const CORBA::Exception& ex)
+ catch (const CORBA::Exception&)
{
TAO_FlowConnection *flowConnection;
ACE_NEW_RETURN (flowConnection,
@@ -3155,7 +3155,7 @@ TAO_MMDevice::create_A_B (MMDevice_Type type,
flowconnection = AVStreams::FlowConnection::_narrow (flowconnection_obj.in ());
}
}
- catch (const AVStreams::noSuchFlow& nsf)
+ catch (const AVStreams::noSuchFlow&)
{
TAO_FlowConnection *flowConnection;
ACE_NEW_RETURN (flowConnection,
@@ -3395,7 +3395,7 @@ TAO_MMDevice::add_fdev (CORBA::Object_ptr fdev_obj)
*flow_name_any >>= tmp;
flow_name = CORBA::string_dup (tmp);
}
- catch (const CORBA::Exception& ex)
+ catch (const CORBA::Exception&)
{
flow_name =
this->add_fdev_i (fdev.in ());
diff --git a/TAO/orbsvcs/orbsvcs/AV/Endpoint_Strategy_T.cpp b/TAO/orbsvcs/orbsvcs/AV/Endpoint_Strategy_T.cpp
index 2a2be14a536..33b8aadd13d 100644
--- a/TAO/orbsvcs/orbsvcs/AV/Endpoint_Strategy_T.cpp
+++ b/TAO/orbsvcs/orbsvcs/AV/Endpoint_Strategy_T.cpp
@@ -50,7 +50,7 @@ TAO_AV_Endpoint_Reactive_Strategy <T_StreamEndpoint, T_VDev, T_MediaCtrl>::~TAO_
media_ctrl_servant_->_remove_ref ();
}
}
- catch (const CORBA::Exception& ex)
+ catch (const CORBA::Exception&)
{
}
diff --git a/TAO/orbsvcs/orbsvcs/AV/QoS_UDP.cpp b/TAO/orbsvcs/orbsvcs/AV/QoS_UDP.cpp
index 4d6644a6611..aabcdf92487 100644
--- a/TAO/orbsvcs/orbsvcs/AV/QoS_UDP.cpp
+++ b/TAO/orbsvcs/orbsvcs/AV/QoS_UDP.cpp
@@ -1038,7 +1038,7 @@ TAO_AV_UDP_QoS_Acceptor::open_i (ACE_INET_Addr *inet_addr)
*negotiator_any >>= negotiator;
handler->negotiator (negotiator);
}
- catch (const CORBA::Exception& ex)
+ catch (const CORBA::Exception&)
{
ACE_DEBUG ((LM_DEBUG,
"(%N,%l) Negotiator Not Found \n"));
@@ -1324,7 +1324,7 @@ TAO_AV_UDP_QoS_Connector::connect (TAO_FlowSpec_Entry *entry,
*negotiator_any >>= negotiator;
handler->negotiator (negotiator);
}
- catch (const CORBA::Exception& ex)
+ catch (const CORBA::Exception&)
{
ACE_DEBUG ((LM_DEBUG,
"Negotiator not found for flow %s\n",
diff --git a/TAO/orbsvcs/orbsvcs/Concurrency/Concurrency_Loader.cpp b/TAO/orbsvcs/orbsvcs/Concurrency/Concurrency_Loader.cpp
index 9c6320ee2ee..5a008bc1d59 100644
--- a/TAO/orbsvcs/orbsvcs/Concurrency/Concurrency_Loader.cpp
+++ b/TAO/orbsvcs/orbsvcs/Concurrency/Concurrency_Loader.cpp
@@ -41,7 +41,7 @@ TAO_Concurrency_Loader::init (int argc, char *argv[])
CORBA::Object_var object =
this->create_object (orb.in (), argc, argv);
}
- catch (const CORBA::Exception& ex)
+ catch (const CORBA::Exception&)
{
// @@ Should we log this???
return -1;
diff --git a/TAO/orbsvcs/orbsvcs/CosEvent/CEC_Event_Loader.cpp b/TAO/orbsvcs/orbsvcs/CosEvent/CEC_Event_Loader.cpp
index 4f413374782..e2259d6df85 100644
--- a/TAO/orbsvcs/orbsvcs/CosEvent/CEC_Event_Loader.cpp
+++ b/TAO/orbsvcs/orbsvcs/CosEvent/CEC_Event_Loader.cpp
@@ -451,7 +451,7 @@ TAO_CEC_Event_Loader::fini (void)
poa->deactivate_object (id.in ());
#endif /* TAO_HAS_TYPED_EVENT_CHANNEL */
}
- catch (const CORBA::Exception& ex)
+ catch (const CORBA::Exception&)
{
// Do Nothing
}
@@ -472,7 +472,7 @@ TAO_CEC_Event_Loader::fini (void)
delete this->attributes_;
delete this->ec_impl_;
}
- catch (const CORBA::Exception& ex)
+ catch (const CORBA::Exception&)
{
// Do Nothing
return -1;
diff --git a/TAO/orbsvcs/orbsvcs/CosEvent/CEC_ProxyPullConsumer.cpp b/TAO/orbsvcs/orbsvcs/CosEvent/CEC_ProxyPullConsumer.cpp
index d97e3fab171..53a57550bd7 100644
--- a/TAO/orbsvcs/orbsvcs/CosEvent/CEC_ProxyPullConsumer.cpp
+++ b/TAO/orbsvcs/orbsvcs/CosEvent/CEC_ProxyPullConsumer.cpp
@@ -52,7 +52,7 @@ TAO_CEC_ProxyPullConsumer::activate (
{
result = this->_this ();
}
- catch (const CORBA::Exception& ex)
+ catch (const CORBA::Exception&)
{
result = CosEventChannelAdmin::ProxyPullConsumer::_nil ();
}
@@ -71,7 +71,7 @@ TAO_CEC_ProxyPullConsumer::deactivate (void)
poa->servant_to_id (this);
poa->deactivate_object (id.in ());
}
- catch (const CORBA::Exception& ex)
+ catch (const CORBA::Exception&)
{
// Exceptions here should not be propagated. They usually
// indicate that an object is beign disconnected twice, or some
@@ -118,7 +118,7 @@ TAO_CEC_ProxyPullConsumer::try_pull_from_supplier (
// Inform the control that we got something from the supplier
control->successful_transmission(this);
}
- catch (const CORBA::OBJECT_NOT_EXIST& ex)
+ catch (const CORBA::OBJECT_NOT_EXIST&)
{
control->supplier_not_exist (this);
}
@@ -127,7 +127,7 @@ TAO_CEC_ProxyPullConsumer::try_pull_from_supplier (
control->system_exception (this,
sysex);
}
- catch (const CORBA::Exception& ex)
+ catch (const CORBA::Exception&)
{
// @@ Should not happen
}
@@ -159,7 +159,7 @@ TAO_CEC_ProxyPullConsumer::pull_from_supplier ()
{
any = supplier->pull ();
}
- catch (const CORBA::Exception& ex)
+ catch (const CORBA::Exception&)
{
// @@ This is where the policies for misbehaving suppliers
// should kick in.... for the moment just ignore them.
@@ -220,7 +220,7 @@ TAO_CEC_ProxyPullConsumer::shutdown (void)
{
supplier->disconnect_pull_supplier ();
}
- catch (const CORBA::Exception& ex)
+ catch (const CORBA::Exception&)
{
// Ignore exceptions, we must isolate other clients from
// failures on this one.
@@ -361,7 +361,7 @@ TAO_CEC_ProxyPullConsumer::disconnect_pull_consumer ()
{
supplier->disconnect_pull_supplier ();
}
- catch (const CORBA::Exception& ex)
+ catch (const CORBA::Exception&)
{
// Ignore exceptions, we must isolate other clients from
// failures on this one.
diff --git a/TAO/orbsvcs/orbsvcs/CosEvent/CEC_ProxyPullSupplier.cpp b/TAO/orbsvcs/orbsvcs/CosEvent/CEC_ProxyPullSupplier.cpp
index 57673e79cf2..8098635c66e 100644
--- a/TAO/orbsvcs/orbsvcs/CosEvent/CEC_ProxyPullSupplier.cpp
+++ b/TAO/orbsvcs/orbsvcs/CosEvent/CEC_ProxyPullSupplier.cpp
@@ -51,7 +51,7 @@ TAO_CEC_ProxyPullSupplier::activate (
{
result = this->_this ();
}
- catch (const CORBA::Exception& ex)
+ catch (const CORBA::Exception&)
{
result = CosEventChannelAdmin::ProxyPullSupplier::_nil ();
}
@@ -70,7 +70,7 @@ TAO_CEC_ProxyPullSupplier::deactivate (void)
poa->servant_to_id (this);
poa->deactivate_object (id.in ());
}
- catch (const CORBA::Exception& ex)
+ catch (const CORBA::Exception&)
{
// Exceptions here should not be propagated. They usually
// indicate that an object is beign disconnected twice, or some
@@ -104,7 +104,7 @@ TAO_CEC_ProxyPullSupplier::shutdown (void)
{
consumer->disconnect_pull_consumer ();
}
- catch (const CORBA::Exception& ex)
+ catch (const CORBA::Exception&)
{
// Ignore exceptions, we must isolate other clients from
// problems on this one.
diff --git a/TAO/orbsvcs/orbsvcs/CosEvent/CEC_ProxyPushConsumer.cpp b/TAO/orbsvcs/orbsvcs/CosEvent/CEC_ProxyPushConsumer.cpp
index dafbccb8787..6fad8240c31 100644
--- a/TAO/orbsvcs/orbsvcs/CosEvent/CEC_ProxyPushConsumer.cpp
+++ b/TAO/orbsvcs/orbsvcs/CosEvent/CEC_ProxyPushConsumer.cpp
@@ -52,7 +52,7 @@ TAO_CEC_ProxyPushConsumer::activate (
{
result = this->_this ();
}
- catch (const CORBA::Exception& ex)
+ catch (const CORBA::Exception&)
{
result = CosEventChannelAdmin::ProxyPushConsumer::_nil ();
}
@@ -71,7 +71,7 @@ TAO_CEC_ProxyPushConsumer::deactivate (void)
poa->servant_to_id (this);
poa->deactivate_object (id.in ());
}
- catch (const CORBA::Exception& ex)
+ catch (const CORBA::Exception&)
{
// Exceptions here should not be propagated. They usually
// indicate that an object is beign disconnected twice, or some
@@ -134,7 +134,7 @@ TAO_CEC_ProxyPushConsumer::shutdown (void)
{
supplier->disconnect_push_supplier ();
}
- catch (const CORBA::Exception& ex)
+ catch (const CORBA::Exception&)
{
// Ignore exceptions, we must isolate other clients from
// failures on this one.
@@ -291,7 +291,7 @@ TAO_CEC_ProxyPushConsumer::disconnect_push_consumer ()
{
supplier->disconnect_push_supplier ();
}
- catch (const CORBA::Exception& ex)
+ catch (const CORBA::Exception&)
{
// Ignore exceptions, we must isolate other clients from
// failures on this one.
diff --git a/TAO/orbsvcs/orbsvcs/CosEvent/CEC_ProxyPushSupplier.cpp b/TAO/orbsvcs/orbsvcs/CosEvent/CEC_ProxyPushSupplier.cpp
index ace061825bd..cab237cbb77 100644
--- a/TAO/orbsvcs/orbsvcs/CosEvent/CEC_ProxyPushSupplier.cpp
+++ b/TAO/orbsvcs/orbsvcs/CosEvent/CEC_ProxyPushSupplier.cpp
@@ -105,7 +105,7 @@ TAO_CEC_ProxyPushSupplier::activate (
{
result = this->_this ();
}
- catch (const CORBA::Exception& ex)
+ catch (const CORBA::Exception&)
{
result = CosEventChannelAdmin::ProxyPushSupplier::_nil ();
}
@@ -124,7 +124,7 @@ TAO_CEC_ProxyPushSupplier::deactivate (void)
poa->servant_to_id (this);
poa->deactivate_object (id.in ());
}
- catch (const CORBA::Exception& ex)
+ catch (const CORBA::Exception&)
{
// Exceptions here should not be propagated. They usually
// indicate that an object is beign disconnected twice, or some
@@ -160,7 +160,7 @@ TAO_CEC_ProxyPushSupplier::shutdown (void)
{
typed_consumer->disconnect_push_consumer ();
}
- catch (const CORBA::Exception& ex)
+ catch (const CORBA::Exception&)
{
// Ignore exceptions, we must isolate other clients from
// problems on this one.
@@ -192,7 +192,7 @@ TAO_CEC_ProxyPushSupplier::shutdown (void)
{
consumer->disconnect_push_consumer ();
}
- catch (const CORBA::Exception& ex)
+ catch (const CORBA::Exception&)
{
// Ignore exceptions, we must isolate other clients from
// problems on this one.
@@ -626,7 +626,7 @@ TAO_CEC_ProxyPushSupplier::push_to_consumer (const CORBA::Any& event)
// Inform the control that we were able to push something
control->successful_transmission(this);
}
- catch (const CORBA::OBJECT_NOT_EXIST& not_used)
+ catch (const CORBA::OBJECT_NOT_EXIST&)
{
control->consumer_not_exist (this);
}
@@ -635,7 +635,7 @@ TAO_CEC_ProxyPushSupplier::push_to_consumer (const CORBA::Any& event)
control->system_exception (this,
sysex);
}
- catch (const CORBA::Exception& ex)
+ catch (const CORBA::Exception&)
{
// Shouldn't happen, but does not hurt
}
@@ -685,7 +685,7 @@ TAO_CEC_ProxyPushSupplier::reactive_push_to_consumer (
control->system_exception (this,
sysex);
}
- catch (const CORBA::Exception& ex)
+ catch (const CORBA::Exception&)
{
// Shouldn't happen, but does not hurt
}
diff --git a/TAO/orbsvcs/orbsvcs/CosEvent/CEC_Reactive_ConsumerControl.cpp b/TAO/orbsvcs/orbsvcs/CosEvent/CEC_Reactive_ConsumerControl.cpp
index 0ff1398ac9f..edefe1fccab 100644
--- a/TAO/orbsvcs/orbsvcs/CosEvent/CEC_Reactive_ConsumerControl.cpp
+++ b/TAO/orbsvcs/orbsvcs/CosEvent/CEC_Reactive_ConsumerControl.cpp
@@ -218,7 +218,7 @@ TAO_CEC_Reactive_ConsumerControl::handle_timeout (
// Query the state of the consumers...
this->query_consumers ();
}
- catch (const CORBA::Exception& ex)
+ catch (const CORBA::Exception&)
{
// Ignore all exceptions
}
@@ -230,7 +230,7 @@ TAO_CEC_Reactive_ConsumerControl::handle_timeout (
policies[i]->destroy ();
}
}
- catch (const CORBA::Exception& ex)
+ catch (const CORBA::Exception&)
{
// Ignore all exceptions
}
@@ -278,7 +278,7 @@ TAO_CEC_Reactive_ConsumerControl::activate (void)
return -1;
}
}
- catch (const CORBA::Exception& ex)
+ catch (const CORBA::Exception&)
{
return -1;
}
@@ -355,7 +355,7 @@ TAO_CEC_Reactive_ConsumerControl::system_exception (
}
}
}
- catch (const CORBA::Exception& ex)
+ catch (const CORBA::Exception&)
{
// Ignore all exceptions..
}
@@ -404,7 +404,7 @@ TAO_CEC_Ping_Push_Consumer::work (TAO_CEC_ProxyPushSupplier *supplier)
this->control_->consumer_not_exist (supplier);
}
}
- catch (const CORBA::Exception& ex)
+ catch (const CORBA::Exception&)
{
// Ignore all exceptions
}
@@ -436,7 +436,7 @@ TAO_CEC_Ping_Pull_Consumer::work (TAO_CEC_ProxyPullSupplier *supplier)
this->control_->consumer_not_exist (supplier);
}
}
- catch (const CORBA::Exception& ex)
+ catch (const CORBA::Exception&)
{
// Ignore all exceptions
}
diff --git a/TAO/orbsvcs/orbsvcs/CosEvent/CEC_Reactive_Pulling_Strategy.cpp b/TAO/orbsvcs/orbsvcs/CosEvent/CEC_Reactive_Pulling_Strategy.cpp
index f0443b52cca..4c695f29823 100644
--- a/TAO/orbsvcs/orbsvcs/CosEvent/CEC_Reactive_Pulling_Strategy.cpp
+++ b/TAO/orbsvcs/orbsvcs/CosEvent/CEC_Reactive_Pulling_Strategy.cpp
@@ -69,7 +69,7 @@ TAO_CEC_Reactive_Pulling_Strategy::handle_timeout (
this->event_channel_->supplier_admin ()->for_each (&worker);
}
- catch (const CORBA::Exception& ex)
+ catch (const CORBA::Exception&)
{
// Ignore all exceptions
}
@@ -81,7 +81,7 @@ TAO_CEC_Reactive_Pulling_Strategy::handle_timeout (
policies[i]->destroy ();
}
}
- catch (const CORBA::Exception& ex)
+ catch (const CORBA::Exception&)
{
// Ignore all exceptions
}
@@ -122,7 +122,7 @@ TAO_CEC_Reactive_Pulling_Strategy::activate (void)
Messaging::RELATIVE_RT_TIMEOUT_POLICY_TYPE,
any);
}
- catch (const CORBA::Exception& ex)
+ catch (const CORBA::Exception&)
{
}
#endif /* TAO_HAS_CORBA_MESSAGING */
@@ -166,7 +166,7 @@ TAO_CEC_Pull_Event::work (TAO_CEC_ProxyPullConsumer *consumer)
{
any = consumer->try_pull_from_supplier (has_event);
}
- catch (const CORBA::Exception& ex)
+ catch (const CORBA::Exception&)
{
// Ignore all exceptions
return;
diff --git a/TAO/orbsvcs/orbsvcs/CosEvent/CEC_Reactive_SupplierControl.cpp b/TAO/orbsvcs/orbsvcs/CosEvent/CEC_Reactive_SupplierControl.cpp
index 8f1f5945182..e819882e7ce 100644
--- a/TAO/orbsvcs/orbsvcs/CosEvent/CEC_Reactive_SupplierControl.cpp
+++ b/TAO/orbsvcs/orbsvcs/CosEvent/CEC_Reactive_SupplierControl.cpp
@@ -219,7 +219,7 @@ TAO_CEC_Reactive_SupplierControl::handle_timeout (
// Query the state of the suppliers...
this->query_suppliers ();
}
- catch (const CORBA::Exception& ex)
+ catch (const CORBA::Exception&)
{
// Ignore all exceptions
}
@@ -231,7 +231,7 @@ TAO_CEC_Reactive_SupplierControl::handle_timeout (
policies[i]->destroy ();
}
}
- catch (const CORBA::Exception& ex)
+ catch (const CORBA::Exception&)
{
// Ignore all exceptions
}
@@ -279,7 +279,7 @@ TAO_CEC_Reactive_SupplierControl::activate (void)
return -1;
}
}
- catch (const CORBA::Exception& ex)
+ catch (const CORBA::Exception&)
{
return -1;
}
@@ -308,7 +308,7 @@ TAO_CEC_Reactive_SupplierControl::supplier_not_exist (
{
proxy->disconnect_push_consumer ();
}
- catch (const CORBA::Exception& ex)
+ catch (const CORBA::Exception&)
{
// Ignore all exceptions..
}
@@ -323,7 +323,7 @@ TAO_CEC_Reactive_SupplierControl::supplier_not_exist (
{
proxy->disconnect_push_consumer ();
}
- catch (const CORBA::Exception& ex)
+ catch (const CORBA::Exception&)
{
// Ignore all exceptions..
}
@@ -338,7 +338,7 @@ TAO_CEC_Reactive_SupplierControl::supplier_not_exist (
{
proxy->disconnect_pull_consumer ();
}
- catch (const CORBA::Exception& ex)
+ catch (const CORBA::Exception&)
{
// Ignore all exceptions..
}
@@ -356,7 +356,7 @@ TAO_CEC_Reactive_SupplierControl::system_exception (
proxy->disconnect_pull_consumer ();
}
}
- catch (const CORBA::Exception& ex)
+ catch (const CORBA::Exception&)
{
// Ignore all exceptions..
}
@@ -405,7 +405,7 @@ TAO_CEC_Ping_Push_Supplier::work (TAO_CEC_ProxyPushConsumer *consumer)
this->control_->supplier_not_exist (consumer);
}
}
- catch (const CORBA::Exception& ex)
+ catch (const CORBA::Exception&)
{
// Ignore all exceptions
}
@@ -438,7 +438,7 @@ TAO_CEC_Ping_Typed_Push_Supplier::work (TAO_CEC_TypedProxyPushConsumer *consumer
this->control_->supplier_not_exist (consumer);
}
}
- catch (const CORBA::Exception& ex)
+ catch (const CORBA::Exception&)
{
// Ignore all exceptions
}
@@ -471,7 +471,7 @@ TAO_CEC_Ping_Pull_Supplier::work (TAO_CEC_ProxyPullConsumer *consumer)
this->control_->supplier_not_exist (consumer);
}
}
- catch (const CORBA::Exception& ex)
+ catch (const CORBA::Exception&)
{
// Ignore all exceptions
}
diff --git a/TAO/orbsvcs/orbsvcs/CosEvent/CEC_TypedProxyPushConsumer.cpp b/TAO/orbsvcs/orbsvcs/CosEvent/CEC_TypedProxyPushConsumer.cpp
index 28c0d699606..44490753e28 100644
--- a/TAO/orbsvcs/orbsvcs/CosEvent/CEC_TypedProxyPushConsumer.cpp
+++ b/TAO/orbsvcs/orbsvcs/CosEvent/CEC_TypedProxyPushConsumer.cpp
@@ -81,7 +81,7 @@ TAO_CEC_TypedProxyPushConsumer::activate (
{
result = this->_this ();
}
- catch (const CORBA::Exception& ex)
+ catch (const CORBA::Exception&)
{
result = CosTypedEventChannelAdmin::TypedProxyPushConsumer::_nil ();
}
@@ -100,7 +100,7 @@ TAO_CEC_TypedProxyPushConsumer::deactivate (void)
poa->servant_to_id (this);
poa->deactivate_object (id.in ());
}
- catch (const CORBA::Exception& ex)
+ catch (const CORBA::Exception&)
{
// Exceptions here should not be propagated. They usually
// indicate that an object is beign disconnected twice, or some
@@ -164,7 +164,7 @@ TAO_CEC_TypedProxyPushConsumer::shutdown (void)
{
supplier->disconnect_push_supplier ();
}
- catch (const CORBA::Exception& ex)
+ catch (const CORBA::Exception&)
{
// Ignore exceptions, we must isolate other clients from
// failures on this one.
@@ -311,7 +311,7 @@ TAO_CEC_TypedProxyPushConsumer::disconnect_push_consumer ()
{
supplier->disconnect_push_supplier ();
}
- catch (const CORBA::Exception& ex)
+ catch (const CORBA::Exception&)
{
// Ignore exceptions, we must isolate other clients from
// failures on this one.
diff --git a/TAO/orbsvcs/orbsvcs/ESF/ESF_Copy_On_Read.cpp b/TAO/orbsvcs/orbsvcs/ESF/ESF_Copy_On_Read.cpp
index e34c508e783..4e56069fc2a 100644
--- a/TAO/orbsvcs/orbsvcs/ESF/ESF_Copy_On_Read.cpp
+++ b/TAO/orbsvcs/orbsvcs/ESF/ESF_Copy_On_Read.cpp
@@ -58,7 +58,7 @@ TAO_ESF_Copy_On_Read<PROXY,COLLECTION,ITERATOR,ACE_LOCK>::
}
delete[] proxies;
}
- catch (const CORBA::Exception& ex)
+ catch (const CORBA::Exception&)
{
for (PROXY **j = proxies; j != proxies + size; ++j)
{
diff --git a/TAO/orbsvcs/orbsvcs/ESF/ESF_Proxy_Admin.cpp b/TAO/orbsvcs/orbsvcs/ESF/ESF_Proxy_Admin.cpp
index 632b4d4aeb9..6c842836abc 100644
--- a/TAO/orbsvcs/orbsvcs/ESF/ESF_Proxy_Admin.cpp
+++ b/TAO/orbsvcs/orbsvcs/ESF/ESF_Proxy_Admin.cpp
@@ -86,7 +86,7 @@ TAO_ESF_Proxy_Admin<EVENT_CHANNEL,PROXY,INTERFACE>::
{
this->collection_->disconnected (proxy);
}
- catch (const CORBA::Exception& ex)
+ catch (const CORBA::Exception&)
{
// @@ In the future the collections may raise exceptions to
// report errors (such as out of memory or things like that).
diff --git a/TAO/orbsvcs/orbsvcs/ESF/ESF_Shutdown_Proxy.cpp b/TAO/orbsvcs/orbsvcs/ESF/ESF_Shutdown_Proxy.cpp
index dab2799e297..21c1ec6be72 100644
--- a/TAO/orbsvcs/orbsvcs/ESF/ESF_Shutdown_Proxy.cpp
+++ b/TAO/orbsvcs/orbsvcs/ESF/ESF_Shutdown_Proxy.cpp
@@ -19,7 +19,7 @@ TAO_ESF_Shutdown_Proxy<PROXY>::work (PROXY *proxy)
{
proxy->shutdown ();
}
- catch (const CORBA::Exception& ex)
+ catch (const CORBA::Exception&)
{
// Do not propagate any exceptions
}
diff --git a/TAO/orbsvcs/orbsvcs/ETCL/ETCL_Constraint.cpp b/TAO/orbsvcs/orbsvcs/ETCL/ETCL_Constraint.cpp
index 685a0b96f47..b23273e6a41 100644
--- a/TAO/orbsvcs/orbsvcs/ETCL/ETCL_Constraint.cpp
+++ b/TAO/orbsvcs/orbsvcs/ETCL/ETCL_Constraint.cpp
@@ -50,7 +50,7 @@ TAO_ETCL_Literal_Constraint::TAO_ETCL_Literal_Constraint (CORBA::Any * any)
{
corba_type = type->kind ();
}
- catch (const CORBA::Exception& ex)
+ catch (const CORBA::Exception&)
{
// @@ Seth: Don't know what else to do. Make sure we can tell
// when this constructor fails.
@@ -340,7 +340,7 @@ TAO_ETCL_Literal_Constraint::comparable_type (CORBA::TypeCode_ptr type)
kind = tmp->kind ();
}
}
- catch (const CORBA::Exception& ex)
+ catch (const CORBA::Exception&)
{
return return_value;
}
diff --git a/TAO/orbsvcs/orbsvcs/Event/ECG_Reactive_ConsumerEC_Control.cpp b/TAO/orbsvcs/orbsvcs/Event/ECG_Reactive_ConsumerEC_Control.cpp
index 1afd6de48ae..1a3c54d765e 100644
--- a/TAO/orbsvcs/orbsvcs/Event/ECG_Reactive_ConsumerEC_Control.cpp
+++ b/TAO/orbsvcs/orbsvcs/Event/ECG_Reactive_ConsumerEC_Control.cpp
@@ -46,18 +46,18 @@ TAO_ECG_Reactive_ConsumerEC_Control::query_eventchannel ()
this->event_channel_not_exist (gateway_);
}
}
- catch (const CORBA::OBJECT_NOT_EXIST& ex)
+ catch (const CORBA::OBJECT_NOT_EXIST&)
{
this->event_channel_not_exist (gateway_);
}
- catch (const CORBA::TRANSIENT& transient)
+ catch (const CORBA::TRANSIENT&)
{
// This is TAO's minor code for a failed connection, we may
// want to be more lenient in the future..
// if (transient.minor () == 0x54410085)
this->event_channel_not_exist (gateway_);
}
- catch (const CORBA::Exception& ex)
+ catch (const CORBA::Exception&)
{
// Ignore all exceptions
}
@@ -98,7 +98,7 @@ TAO_ECG_Reactive_ConsumerEC_Control::handle_timeout (
policies[i]->destroy ();
}
}
- catch (const CORBA::Exception& ex)
+ catch (const CORBA::Exception&)
{
// Ignore all exceptions
}
@@ -142,7 +142,7 @@ TAO_ECG_Reactive_ConsumerEC_Control::activate (void)
return -1;
}
}
- catch (const CORBA::Exception& ex)
+ catch (const CORBA::Exception&)
{
return -1;
}
@@ -198,7 +198,7 @@ TAO_ECG_Reactive_ConsumerEC_Control::system_exception (
gateway->cleanup_consumer_proxies ();
}
- catch (const CORBA::Exception& ex)
+ catch (const CORBA::Exception&)
{
// Ignore all exceptions..
}
diff --git a/TAO/orbsvcs/orbsvcs/Event/ECG_Reconnect_ConsumerEC_Control.cpp b/TAO/orbsvcs/orbsvcs/Event/ECG_Reconnect_ConsumerEC_Control.cpp
index 15498ffc444..9358fbc65af 100644
--- a/TAO/orbsvcs/orbsvcs/Event/ECG_Reconnect_ConsumerEC_Control.cpp
+++ b/TAO/orbsvcs/orbsvcs/Event/ECG_Reconnect_ConsumerEC_Control.cpp
@@ -46,7 +46,7 @@ TAO_ECG_Reconnect_ConsumerEC_Control::try_reconnect ()
this->reconnect();
}
}
- catch (const CORBA::Exception& ex)
+ catch (const CORBA::Exception&)
{
// Ignore all exceptions
}
@@ -61,7 +61,7 @@ TAO_ECG_Reconnect_ConsumerEC_Control::reconnect ()
gateway_->reconnect_consumer_ec();
}
- catch (const CORBA::Exception& ex)
+ catch (const CORBA::Exception&)
{
// Ignore all exceptions
}
@@ -87,18 +87,18 @@ TAO_ECG_Reconnect_ConsumerEC_Control::query_eventchannel ()
this->try_reconnect();
}
}
- catch (const CORBA::OBJECT_NOT_EXIST& ex)
+ catch (const CORBA::OBJECT_NOT_EXIST&)
{
this->event_channel_not_exist (gateway_);
}
- catch (const CORBA::TRANSIENT& transient)
+ catch (const CORBA::TRANSIENT&)
{
// This is TAO's minor code for a failed connection, we may
// want to be more lenient in the future..
// if (transient.minor () == 0x54410085)
this->event_channel_not_exist (gateway_);
}
- catch (const CORBA::Exception& ex)
+ catch (const CORBA::Exception&)
{
// Ignore all exceptions
}
@@ -138,7 +138,7 @@ TAO_ECG_Reconnect_ConsumerEC_Control::handle_timeout (
policies[i]->destroy ();
}
}
- catch (const CORBA::Exception& ex)
+ catch (const CORBA::Exception&)
{
// Ignore all exceptions
}
@@ -182,7 +182,7 @@ TAO_ECG_Reconnect_ConsumerEC_Control::activate (void)
return -1;
}
}
- catch (const CORBA::Exception& ex)
+ catch (const CORBA::Exception&)
{
return -1;
}
@@ -253,7 +253,7 @@ TAO_ECG_Reconnect_ConsumerEC_Control::system_exception (
gateway->cleanup_consumer_proxies ();
}
- catch (const CORBA::Exception& ex)
+ catch (const CORBA::Exception&)
{
// Ignore all exceptions..
}
diff --git a/TAO/orbsvcs/orbsvcs/Event/EC_Default_ProxyConsumer.cpp b/TAO/orbsvcs/orbsvcs/Event/EC_Default_ProxyConsumer.cpp
index 4b7326eb36d..321bb4b733b 100644
--- a/TAO/orbsvcs/orbsvcs/Event/EC_Default_ProxyConsumer.cpp
+++ b/TAO/orbsvcs/orbsvcs/Event/EC_Default_ProxyConsumer.cpp
@@ -132,7 +132,7 @@ TAO_EC_Default_ProxyPushConsumer::disconnect_push_consumer ()
{
supplier->disconnect_push_supplier ();
}
- catch (const CORBA::Exception& ex)
+ catch (const CORBA::Exception&)
{
// Ignore exceptions, we must isolate other clients from
// failures on this one.
diff --git a/TAO/orbsvcs/orbsvcs/Event/EC_Event_Channel_Base.cpp b/TAO/orbsvcs/orbsvcs/Event/EC_Event_Channel_Base.cpp
index 8c8f38a4209..831bd3f1be5 100644
--- a/TAO/orbsvcs/orbsvcs/Event/EC_Event_Channel_Base.cpp
+++ b/TAO/orbsvcs/orbsvcs/Event/EC_Event_Channel_Base.cpp
@@ -175,7 +175,7 @@ TAO_EC_Event_Channel_Base::deactivate_supplier_admin (void)
supplier_poa->servant_to_id (this->supplier_admin_);
supplier_poa->deactivate_object (supplier_id.in ());
}
- catch (const CORBA::Exception& ex)
+ catch (const CORBA::Exception&)
{
// The deactivation can throw...
}
@@ -192,7 +192,7 @@ TAO_EC_Event_Channel_Base::deactivate_consumer_admin (void)
consumer_poa->servant_to_id (this->consumer_admin_);
consumer_poa->deactivate_object (consumer_id.in ());
}
- catch (const CORBA::Exception& ex)
+ catch (const CORBA::Exception&)
{
// The deactivation can throw...
}
diff --git a/TAO/orbsvcs/orbsvcs/Event/EC_Gateway_IIOP.cpp b/TAO/orbsvcs/orbsvcs/Event/EC_Gateway_IIOP.cpp
index 34c4bccb1dd..b21479fe024 100644
--- a/TAO/orbsvcs/orbsvcs/Event/EC_Gateway_IIOP.cpp
+++ b/TAO/orbsvcs/orbsvcs/Event/EC_Gateway_IIOP.cpp
@@ -142,7 +142,7 @@ TAO_EC_Gateway_IIOP::disconnect_consumer_proxies_i (void)
{
consumer->disconnect_push_consumer ();
}
- catch (const CORBA::Exception& ex)
+ catch (const CORBA::Exception&)
{
}
CORBA::release (consumer);
@@ -524,7 +524,7 @@ TAO_EC_Gateway_IIOP::push_to_consumer (
{
consumer->push (event);
}
- catch (const CORBA::OBJECT_NOT_EXIST& not_used)
+ catch (const CORBA::OBJECT_NOT_EXIST&)
{
ec_control_->event_channel_not_exist (this);
}
diff --git a/TAO/orbsvcs/orbsvcs/Event/EC_Kokyu_Dispatching.cpp b/TAO/orbsvcs/orbsvcs/Event/EC_Kokyu_Dispatching.cpp
index af497337481..7271282ef5a 100644
--- a/TAO/orbsvcs/orbsvcs/Event/EC_Kokyu_Dispatching.cpp
+++ b/TAO/orbsvcs/orbsvcs/Event/EC_Kokyu_Dispatching.cpp
@@ -61,7 +61,7 @@ TAO_EC_Kokyu_Dispatching::setup_lanes (void)
{
this->scheduler_->get_config_infos(configs.out());
}
- catch (const CORBA::Exception& ex)
+ catch (const CORBA::Exception&)
{
// Ignore exceptions..
}
@@ -189,7 +189,7 @@ TAO_EC_Kokyu_Push_Command::execute ()
this->proxy_->push_to_consumer (this->consumer_.in (),
this->event_);
}
- catch (const CORBA::Exception& ex)
+ catch (const CORBA::Exception&)
{
return -1;
}
diff --git a/TAO/orbsvcs/orbsvcs/Event/EC_Lifetime_Utils.inl b/TAO/orbsvcs/orbsvcs/Event/EC_Lifetime_Utils.inl
index 84c56db8e2c..87b31282a2d 100644
--- a/TAO/orbsvcs/orbsvcs/Event/EC_Lifetime_Utils.inl
+++ b/TAO/orbsvcs/orbsvcs/Event/EC_Lifetime_Utils.inl
@@ -32,7 +32,7 @@ TAO_EC_Object_Deactivator::deactivate (void)
this->deactivate_ = 0;
this->poa_->deactivate_object (id_);
}
- catch (const CORBA::Exception& ex)
+ catch (const CORBA::Exception&)
{
// The deactivation can throw...
}
@@ -123,7 +123,7 @@ TAO_EC_ORB_Holder::~TAO_EC_ORB_Holder (void)
{
this->orb_->destroy ();
}
- catch (const CORBA::Exception& ex)
+ catch (const CORBA::Exception&)
{
// Ignore.
}
@@ -153,7 +153,7 @@ TAO_EC_Event_Channel_Holder::~TAO_EC_Event_Channel_Holder (void)
{
this->ec_->destroy ();
}
- catch (const CORBA::Exception& ex)
+ catch (const CORBA::Exception&)
{
// Ignore.
}
diff --git a/TAO/orbsvcs/orbsvcs/Event/EC_Lifetime_Utils_T.inl b/TAO/orbsvcs/orbsvcs/Event/EC_Lifetime_Utils_T.inl
index b0355172641..a3378730e7a 100644
--- a/TAO/orbsvcs/orbsvcs/Event/EC_Lifetime_Utils_T.inl
+++ b/TAO/orbsvcs/orbsvcs/Event/EC_Lifetime_Utils_T.inl
@@ -59,7 +59,7 @@ TAO_EC_Auto_Command<T>::execute (void)
{
this->command_.execute ();
}
- catch (const CORBA::Exception& ex)
+ catch (const CORBA::Exception&)
{
// ignore.
}
diff --git a/TAO/orbsvcs/orbsvcs/Event/EC_ObserverStrategy.cpp b/TAO/orbsvcs/orbsvcs/Event/EC_ObserverStrategy.cpp
index e3bfd3c21f0..aaa334439b5 100644
--- a/TAO/orbsvcs/orbsvcs/Event/EC_ObserverStrategy.cpp
+++ b/TAO/orbsvcs/orbsvcs/Event/EC_ObserverStrategy.cpp
@@ -188,7 +188,7 @@ TAO_EC_Basic_ObserverStrategy::supplier_qos_update (
{
copy[i]->update_supplier (s_qos);
}
- catch (const CORBA::Exception& ex)
+ catch (const CORBA::Exception&)
{
// Ignore exceptions, we must isolate other observers from
// failures on this one.
@@ -230,7 +230,7 @@ TAO_EC_Basic_ObserverStrategy::consumer_qos_update (
{
copy[i]->update_consumer (c_qos);
}
- catch (const CORBA::Exception& ex)
+ catch (const CORBA::Exception&)
{
// Ignore exceptions, we must isolate other observers from
// failures on this one.
@@ -311,19 +311,19 @@ TAO_EC_Reactive_ObserverStrategy::supplier_qos_update (
{
entry.observer->update_supplier (s_qos);
}
- catch (const CORBA::OBJECT_NOT_EXIST& ex)
+ catch (const CORBA::OBJECT_NOT_EXIST&)
{
// Exception occured while updating observer, so remove it from the
// observer list
this->observer_not_exists (entry);
}
- catch (const CORBA::TRANSIENT& transient)
+ catch (const CORBA::TRANSIENT&)
{
// Exception occured while updating observer, so remove it from the
// observer list
this->observer_not_exists (entry);
}
- catch (const CORBA::Exception& ex)
+ catch (const CORBA::Exception&)
{
// Ignore all exceptions
}
@@ -353,19 +353,19 @@ TAO_EC_Reactive_ObserverStrategy::consumer_qos_update (
{
entry.observer->update_consumer (c_qos);
}
- catch (const CORBA::OBJECT_NOT_EXIST& ex)
+ catch (const CORBA::OBJECT_NOT_EXIST&)
{
// Exception occured while updating observer, so remove it from the
// observer list
this->observer_not_exists (entry);
}
- catch (const CORBA::TRANSIENT& transient)
+ catch (const CORBA::TRANSIENT&)
{
// Exception occured while updating observer, so remove it from the
// observer list
this->observer_not_exists (entry);
}
- catch (const CORBA::Exception& ex)
+ catch (const CORBA::Exception&)
{
// Ignore all exceptions
}
@@ -403,7 +403,7 @@ TAO_EC_Reactive_ObserverStrategy::observer_not_exists (Observer_Entry& observer)
{
this->remove_observer(observer.handle);
}
- catch (const CORBA::Exception& ex)
+ catch (const CORBA::Exception&)
{
// Ignore exceptions
}
diff --git a/TAO/orbsvcs/orbsvcs/Event/EC_Per_Supplier_Filter.cpp b/TAO/orbsvcs/orbsvcs/Event/EC_Per_Supplier_Filter.cpp
index f7a947a25e8..37f99bf81da 100644
--- a/TAO/orbsvcs/orbsvcs/Event/EC_Per_Supplier_Filter.cpp
+++ b/TAO/orbsvcs/orbsvcs/Event/EC_Per_Supplier_Filter.cpp
@@ -59,7 +59,7 @@ TAO_EC_Per_Supplier_Filter::unbind (TAO_EC_ProxyPushConsumer* consumer)
{
this->shutdown ();
}
- catch (const CORBA::Exception& ex)
+ catch (const CORBA::Exception&)
{
// @@ Ignore exceptions
}
diff --git a/TAO/orbsvcs/orbsvcs/Event/EC_Priority_Dispatching.cpp b/TAO/orbsvcs/orbsvcs/Event/EC_Priority_Dispatching.cpp
index c9641c01700..f44f34ba32c 100644
--- a/TAO/orbsvcs/orbsvcs/Event/EC_Priority_Dispatching.cpp
+++ b/TAO/orbsvcs/orbsvcs/Event/EC_Priority_Dispatching.cpp
@@ -61,7 +61,7 @@ TAO_EC_Priority_Dispatching::activate (void)
1, // threads
RtecScheduler::OPERATION);
}
- catch (const CORBA::Exception& ex)
+ catch (const CORBA::Exception&)
{
// Ignore exceptions..
}
diff --git a/TAO/orbsvcs/orbsvcs/Event/EC_ProxyConsumer.cpp b/TAO/orbsvcs/orbsvcs/Event/EC_ProxyConsumer.cpp
index 8dcebde5f7f..c68688c480b 100644
--- a/TAO/orbsvcs/orbsvcs/Event/EC_ProxyConsumer.cpp
+++ b/TAO/orbsvcs/orbsvcs/Event/EC_ProxyConsumer.cpp
@@ -163,7 +163,7 @@ TAO_EC_ProxyPushConsumer::shutdown (void)
{
supplier->disconnect_push_supplier ();
}
- catch (const CORBA::Exception& ex)
+ catch (const CORBA::Exception&)
{
// Ignore exceptions, we must isolate other clients from
// failures on this one.
@@ -194,7 +194,7 @@ TAO_EC_ProxyPushConsumer::deactivate (void)
this->object_id ();
this->default_POA_->deactivate_object (id);
}
- catch (const CORBA::Exception& ex)
+ catch (const CORBA::Exception&)
{
// Exceptions here should not be propagated. They usually
// indicate that an object is beign disconnected twice, or some
diff --git a/TAO/orbsvcs/orbsvcs/Event/EC_ProxySupplier.cpp b/TAO/orbsvcs/orbsvcs/Event/EC_ProxySupplier.cpp
index 2f60f3c80e7..51bd5ee6d0e 100644
--- a/TAO/orbsvcs/orbsvcs/Event/EC_ProxySupplier.cpp
+++ b/TAO/orbsvcs/orbsvcs/Event/EC_ProxySupplier.cpp
@@ -114,7 +114,7 @@ TAO_EC_ProxyPushSupplier::shutdown (void)
{
consumer->disconnect_push_consumer ();
}
- catch (const CORBA::Exception& ex)
+ catch (const CORBA::Exception&)
{
// Ignore exceptions, we must isolate other clients from
// problems on this one.
@@ -142,7 +142,7 @@ TAO_EC_ProxyPushSupplier::deactivate (void) ACE_THROW_SPEC (())
this->object_id ();
this->default_POA_->deactivate_object (id);
}
- catch (const CORBA::Exception& ex)
+ catch (const CORBA::Exception&)
{
// Exceptions here should not be propagated. They usually
// indicate that an object is beign disconnected twice, or some
@@ -342,7 +342,7 @@ TAO_EC_ProxyPushSupplier::push_to_consumer (
{
consumer->push (event);
}
- catch (const CORBA::OBJECT_NOT_EXIST& not_used)
+ catch (const CORBA::OBJECT_NOT_EXIST&)
{
// Do not report errors for old consumers
// NOTE: The comparison below is not completely correct, it
@@ -377,7 +377,7 @@ TAO_EC_ProxyPushSupplier::push_to_consumer (
sysex);
}
}
- catch (const CORBA::Exception& ex)
+ catch (const CORBA::Exception&)
{
// Shouldn't happen, but does not hurt
}
@@ -392,7 +392,7 @@ TAO_EC_ProxyPushSupplier::reactive_push_to_consumer (
{
consumer->push (event);
}
- catch (const CORBA::OBJECT_NOT_EXIST& not_used)
+ catch (const CORBA::OBJECT_NOT_EXIST&)
{
TAO_EC_ConsumerControl *control =
this->event_channel_->consumer_control ();
@@ -407,7 +407,7 @@ TAO_EC_ProxyPushSupplier::reactive_push_to_consumer (
control->system_exception (this,
sysex);
}
- catch (const CORBA::Exception& ex)
+ catch (const CORBA::Exception&)
{
// Shouldn't happen
}
diff --git a/TAO/orbsvcs/orbsvcs/Event/EC_RTCORBA_Factory.cpp b/TAO/orbsvcs/orbsvcs/Event/EC_RTCORBA_Factory.cpp
index 2470b369110..b5da2246bfe 100644
--- a/TAO/orbsvcs/orbsvcs/Event/EC_RTCORBA_Factory.cpp
+++ b/TAO/orbsvcs/orbsvcs/Event/EC_RTCORBA_Factory.cpp
@@ -68,7 +68,7 @@ TAO_EC_RTCORBA_Factory::create_dispatching (TAO_EC_Event_Channel_Base *)
current.in ()),
0);
}
- catch (const CORBA::Exception& ex)
+ catch (const CORBA::Exception&)
{
}
diff --git a/TAO/orbsvcs/orbsvcs/Event/EC_Reactive_ConsumerControl.cpp b/TAO/orbsvcs/orbsvcs/Event/EC_Reactive_ConsumerControl.cpp
index 684665fca07..4b2e439b0c7 100644
--- a/TAO/orbsvcs/orbsvcs/Event/EC_Reactive_ConsumerControl.cpp
+++ b/TAO/orbsvcs/orbsvcs/Event/EC_Reactive_ConsumerControl.cpp
@@ -83,7 +83,7 @@ TAO_EC_Reactive_ConsumerControl::handle_timeout (
policies[i]->destroy ();
}
}
- catch (const CORBA::Exception& ex)
+ catch (const CORBA::Exception&)
{
// Ignore all exceptions
}
@@ -127,7 +127,7 @@ TAO_EC_Reactive_ConsumerControl::activate (void)
return -1;
}
}
- catch (const CORBA::Exception& ex)
+ catch (const CORBA::Exception&)
{
return -1;
}
@@ -185,7 +185,7 @@ TAO_EC_Reactive_ConsumerControl::system_exception (
// Anything else is serious, including timeouts...
proxy->disconnect_push_supplier ();
}
- catch (const CORBA::Exception& ex)
+ catch (const CORBA::Exception&)
{
// Ignore all exceptions..
}
@@ -223,18 +223,18 @@ TAO_EC_Ping_Consumer::work (TAO_EC_ProxyPushSupplier *supplier)
this->control_->consumer_not_exist (supplier);
}
}
- catch (const CORBA::OBJECT_NOT_EXIST& ex)
+ catch (const CORBA::OBJECT_NOT_EXIST&)
{
this->control_->consumer_not_exist (supplier);
}
- catch (const CORBA::TRANSIENT& transient)
+ catch (const CORBA::TRANSIENT&)
{
// This is TAO's minor code for a failed connection, we may
// want to be more lenient in the future..
// if (transient.minor () == 0x54410085)
this->control_->consumer_not_exist (supplier);
}
- catch (const CORBA::Exception& ex)
+ catch (const CORBA::Exception&)
{
// Ignore all exceptions
}
diff --git a/TAO/orbsvcs/orbsvcs/Event/EC_Reactive_SupplierControl.cpp b/TAO/orbsvcs/orbsvcs/Event/EC_Reactive_SupplierControl.cpp
index fb575afb18c..40e96be4414 100644
--- a/TAO/orbsvcs/orbsvcs/Event/EC_Reactive_SupplierControl.cpp
+++ b/TAO/orbsvcs/orbsvcs/Event/EC_Reactive_SupplierControl.cpp
@@ -75,7 +75,7 @@ TAO_EC_Reactive_SupplierControl::handle_timeout (
policies[i]->destroy ();
}
}
- catch (const CORBA::Exception& ex)
+ catch (const CORBA::Exception&)
{
// Ignore all exceptions
}
@@ -119,7 +119,7 @@ TAO_EC_Reactive_SupplierControl::activate (void)
return -1;
}
}
- catch (const CORBA::Exception& ex)
+ catch (const CORBA::Exception&)
{
return -1;
}
@@ -151,7 +151,7 @@ TAO_EC_Reactive_SupplierControl::supplier_not_exist (
// "Consumer %x does not exists\n", long(proxy)));
proxy->disconnect_push_consumer ();
}
- catch (const CORBA::Exception& ex)
+ catch (const CORBA::Exception&)
{
// Ignore all exceptions..
}
@@ -176,7 +176,7 @@ TAO_EC_Reactive_SupplierControl::system_exception (
// Anything else is serious, including timeouts...
proxy->disconnect_push_consumer ();
}
- catch (const CORBA::Exception& ex)
+ catch (const CORBA::Exception&)
{
// Ignore all exceptions..
}
@@ -214,18 +214,18 @@ TAO_EC_Ping_Supplier::work (TAO_EC_ProxyPushConsumer *consumer)
this->control_->supplier_not_exist (consumer);
}
}
- catch (const CORBA::OBJECT_NOT_EXIST& ex)
+ catch (const CORBA::OBJECT_NOT_EXIST&)
{
this->control_->supplier_not_exist (consumer);
}
- catch (const CORBA::TRANSIENT& transient)
+ catch (const CORBA::TRANSIENT&)
{
// This is TAO's minor code for a failed connection, we may
// want to be more lenient in the future..
// if (transient.minor () == 0x54410085)
this->control_->supplier_not_exist (consumer);
}
- catch (const CORBA::Exception& ex)
+ catch (const CORBA::Exception&)
{
// Ignore all exceptions
}
diff --git a/TAO/orbsvcs/orbsvcs/Event/EC_Timeout_Generator.cpp b/TAO/orbsvcs/orbsvcs/Event/EC_Timeout_Generator.cpp
index 718cface0d5..453af4eeaf2 100644
--- a/TAO/orbsvcs/orbsvcs/Event/EC_Timeout_Generator.cpp
+++ b/TAO/orbsvcs/orbsvcs/Event/EC_Timeout_Generator.cpp
@@ -47,7 +47,7 @@ TAO_EC_Timeout_Adapter::handle_timeout (const ACE_Time_Value & /* tv */,
filter->push_to_proxy (single_event,
qos_info);
}
- catch (const CORBA::Exception& ex)
+ catch (const CORBA::Exception&)
{
return -1;
}
diff --git a/TAO/orbsvcs/orbsvcs/FaultTolerance/FT_ClientRequest_Interceptor.cpp b/TAO/orbsvcs/orbsvcs/FaultTolerance/FT_ClientRequest_Interceptor.cpp
index 51c03ac928c..368385946fc 100644
--- a/TAO/orbsvcs/orbsvcs/FaultTolerance/FT_ClientRequest_Interceptor.cpp
+++ b/TAO/orbsvcs/orbsvcs/FaultTolerance/FT_ClientRequest_Interceptor.cpp
@@ -91,7 +91,7 @@ namespace TAO
tp =
ri->get_effective_component (IOP::TAG_FT_GROUP);
}
- catch (const CORBA::Exception& ex)
+ catch (const CORBA::Exception&)
{
return;
}
@@ -136,7 +136,7 @@ namespace TAO
{
status = ri->reply_status();
}
- catch (const CORBA::Exception& ex)
+ catch (const CORBA::Exception&)
{
// No reply status => Not a location forward.
return;
@@ -286,7 +286,7 @@ namespace TAO
0);
}
- catch (const CORBA::Exception& ex)
+ catch (const CORBA::Exception&)
{
// Not much can be done anyway. Just keep quiet
// ACE_RE_THROW;
@@ -365,7 +365,7 @@ namespace TAO
ri->add_request_service_context (sc,
0);
}
- catch (const CORBA::Exception& ex)
+ catch (const CORBA::Exception&)
{
// ACE_RE_THROW;
}
diff --git a/TAO/orbsvcs/orbsvcs/FaultTolerance/FT_ServerRequest_Interceptor.cpp b/TAO/orbsvcs/orbsvcs/FaultTolerance/FT_ServerRequest_Interceptor.cpp
index 4f01158760a..f609b5c34e9 100644
--- a/TAO/orbsvcs/orbsvcs/FaultTolerance/FT_ServerRequest_Interceptor.cpp
+++ b/TAO/orbsvcs/orbsvcs/FaultTolerance/FT_ServerRequest_Interceptor.cpp
@@ -55,12 +55,12 @@ namespace TAO
this->check_iogr_version (sc.in ());
}
- catch (const CORBA::BAD_PARAM& ex)
+ catch (const CORBA::BAD_PARAM&)
{
// No group version context, no problem just return.
return;
}
- catch (const CORBA::Exception& ex)
+ catch (const CORBA::Exception&)
{
throw;
}
diff --git a/TAO/orbsvcs/orbsvcs/FtRtEvent/ClientORB/FTRT_ClientORB_Interceptor.cpp b/TAO/orbsvcs/orbsvcs/FtRtEvent/ClientORB/FTRT_ClientORB_Interceptor.cpp
index 8958f93bb25..054fe0838e3 100644
--- a/TAO/orbsvcs/orbsvcs/FtRtEvent/ClientORB/FTRT_ClientORB_Interceptor.cpp
+++ b/TAO/orbsvcs/orbsvcs/FtRtEvent/ClientORB/FTRT_ClientORB_Interceptor.cpp
@@ -89,7 +89,7 @@ FTRT_ClientORB_Interceptor::send_request (
ri->add_request_service_context (sc, 0);
}
- catch (const CORBA::Exception& ex)
+ catch (const CORBA::Exception&)
{
// Not much can be done anyway. Just keep quiet
}
@@ -108,7 +108,7 @@ FTRT_ClientORB_Interceptor::receive_reply (
service_context =
ri->get_reply_service_context(FTRT::FT_FORWARD);
}
- catch (const CORBA::Exception& ex){
+ catch (const CORBA::Exception&){
return;
}
diff --git a/TAO/orbsvcs/orbsvcs/FtRtEvent/EventChannel/Basic_Replication_Strategy.cpp b/TAO/orbsvcs/orbsvcs/FtRtEvent/EventChannel/Basic_Replication_Strategy.cpp
index 483eb71a9a5..69f5e906f1d 100644
--- a/TAO/orbsvcs/orbsvcs/FtRtEvent/EventChannel/Basic_Replication_Strategy.cpp
+++ b/TAO/orbsvcs/orbsvcs/FtRtEvent/EventChannel/Basic_Replication_Strategy.cpp
@@ -97,7 +97,7 @@ Basic_Replication_Strategy::replicate_request(
try{
successor->oneway_set_update(state);
}
- catch (const CORBA::Exception& ex){
+ catch (const CORBA::Exception&){
}
}
}
diff --git a/TAO/orbsvcs/orbsvcs/FtRtEvent/EventChannel/FTEC_Group_Manager.cpp b/TAO/orbsvcs/orbsvcs/FtRtEvent/EventChannel/FTEC_Group_Manager.cpp
index 3f74eb20063..5ea216610e2 100644
--- a/TAO/orbsvcs/orbsvcs/FtRtEvent/EventChannel/FTEC_Group_Manager.cpp
+++ b/TAO/orbsvcs/orbsvcs/FtRtEvent/EventChannel/FTEC_Group_Manager.cpp
@@ -150,7 +150,7 @@ void TAO_FTEC_Group_Manager::add_member (
try{
FTRTEC::Replication_Service::instance()->add_member(info, object_group_ref_version);
}
- catch (const CORBA::Exception& ex){
+ catch (const CORBA::Exception&){
// Unable to send request to all the successors.
// Now this node become the last replica of the object group.
// update the info list again
@@ -323,7 +323,7 @@ void TAO_FTEC_Group_Manager::connection_closed()
return;
}
- catch (const CORBA::Exception& ex){
+ catch (const CORBA::Exception&){
}
}
@@ -331,7 +331,7 @@ void TAO_FTEC_Group_Manager::connection_closed()
remove_member(crashed_location,
IOGR_Maker::instance()->increment_ref_version());
}
- catch (const CORBA::Exception& ex){
+ catch (const CORBA::Exception&){
}
}
diff --git a/TAO/orbsvcs/orbsvcs/FtRtEvent/EventChannel/FTEC_ProxySupplier.cpp b/TAO/orbsvcs/orbsvcs/FtRtEvent/EventChannel/FTEC_ProxySupplier.cpp
index e7f9dd0b22f..e215955c4d5 100644
--- a/TAO/orbsvcs/orbsvcs/FtRtEvent/EventChannel/FTEC_ProxySupplier.cpp
+++ b/TAO/orbsvcs/orbsvcs/FtRtEvent/EventChannel/FTEC_ProxySupplier.cpp
@@ -41,7 +41,7 @@ TAO_FTEC_ProxyPushSupplier::activate (
PortableServer::POA_var poa = _default_POA();
activate_object_with_id(result, poa.in(), this, id());
}
- catch (const CORBA::Exception& ex)
+ catch (const CORBA::Exception&)
{
// ignore exceptions
}
diff --git a/TAO/orbsvcs/orbsvcs/FtRtEvent/EventChannel/ForwardCtrlServerInterceptor.cpp b/TAO/orbsvcs/orbsvcs/FtRtEvent/EventChannel/ForwardCtrlServerInterceptor.cpp
index 15c54231fca..ddf0f152674 100644
--- a/TAO/orbsvcs/orbsvcs/FtRtEvent/EventChannel/ForwardCtrlServerInterceptor.cpp
+++ b/TAO/orbsvcs/orbsvcs/FtRtEvent/EventChannel/ForwardCtrlServerInterceptor.cpp
@@ -91,7 +91,7 @@ void ForwardCtrlServerInterceptor::receive_request (PortableInterceptor::ServerR
IOP::ServiceContext_var service_context =
ri->get_request_service_context(IOP::FT_GROUP_VERSION);
}
- catch (const CORBA::Exception& ex){
+ catch (const CORBA::Exception&){
// not an FT call , continue to process the request
return;
}
diff --git a/TAO/orbsvcs/orbsvcs/FtRtEvent/EventChannel/FtEventServiceInterceptor.cpp b/TAO/orbsvcs/orbsvcs/FtRtEvent/EventChannel/FtEventServiceInterceptor.cpp
index ba8800dd2b7..ccfd9d70465 100644
--- a/TAO/orbsvcs/orbsvcs/FtRtEvent/EventChannel/FtEventServiceInterceptor.cpp
+++ b/TAO/orbsvcs/orbsvcs/FtRtEvent/EventChannel/FtEventServiceInterceptor.cpp
@@ -112,7 +112,7 @@ get_transaction_depth_context(
try{
service_context = ri->get_request_service_context(FTRT::FT_TRANSACTION_DEPTH);
}
- catch (const CORBA::BAD_PARAM& ex)
+ catch (const CORBA::BAD_PARAM&)
{
ACE_DEBUG((LM_DEBUG, "Received request without transaction depth context\n"));
return -1;
@@ -243,7 +243,7 @@ FtEventServiceInterceptor::receive_request (PortableInterceptor::ServerRequestIn
Request_Context_Repository().set_transaction_depth(ri, transaction_depth);
}
- catch (const CORBA::BAD_PARAM& ex){
+ catch (const CORBA::BAD_PARAM&){
}
FTRT::SequenceNumber sequence_no =
@@ -251,7 +251,7 @@ FtEventServiceInterceptor::receive_request (PortableInterceptor::ServerRequestIn
Request_Context_Repository().set_sequence_number(ri, sequence_no);
}
- catch (const CORBA::BAD_PARAM& ex){
+ catch (const CORBA::BAD_PARAM&){
}
}
@@ -267,7 +267,7 @@ FtEventServiceInterceptor::send_reply (PortableInterceptor::ServerRequestInfo_pt
service_context,
ft_request_service_context);
}
- catch (const CORBA::BAD_PARAM& ex){
+ catch (const CORBA::BAD_PARAM&){
return;
}
diff --git a/TAO/orbsvcs/orbsvcs/FtRtEvent/Utils/resolve_init.h b/TAO/orbsvcs/orbsvcs/FtRtEvent/Utils/resolve_init.h
index 6e248e21deb..c09ee873041 100644
--- a/TAO/orbsvcs/orbsvcs/FtRtEvent/Utils/resolve_init.h
+++ b/TAO/orbsvcs/orbsvcs/FtRtEvent/Utils/resolve_init.h
@@ -30,7 +30,7 @@ resolve_init (CORBA::ORB_ptr orb,
ref = T::_narrow(obj.in());
}
- catch (const CORBA::Exception& ex)
+ catch (const CORBA::Exception&)
{
ACE_ERROR((
LM_ERROR,
diff --git a/TAO/orbsvcs/orbsvcs/IFRService/ComponentDef_i.cpp b/TAO/orbsvcs/orbsvcs/IFRService/ComponentDef_i.cpp
index 5a8af24ea98..a521c6767df 100644
--- a/TAO/orbsvcs/orbsvcs/IFRService/ComponentDef_i.cpp
+++ b/TAO/orbsvcs/orbsvcs/IFRService/ComponentDef_i.cpp
@@ -714,7 +714,7 @@ TAO_ComponentDef_i::name_clash (const char *name)
TAO_IFR_Service_Utils::repo_,
CORBA::dk_Component);
}
- catch (const CORBA::Exception& ex)
+ catch (const CORBA::Exception&)
{
return 1;
}
diff --git a/TAO/orbsvcs/orbsvcs/IFRService/Contained_i.cpp b/TAO/orbsvcs/orbsvcs/IFRService/Contained_i.cpp
index f686bdc81ba..5f2d8d419e5 100644
--- a/TAO/orbsvcs/orbsvcs/IFRService/Contained_i.cpp
+++ b/TAO/orbsvcs/orbsvcs/IFRService/Contained_i.cpp
@@ -897,7 +897,7 @@ TAO_Contained_i::move_i (CORBA::Container_ptr new_container,
break;
}
}
- catch (const CORBA::Exception& ex)
+ catch (const CORBA::Exception&)
{
// If the move was not successful, we must restore this.
this->repo_->config ()->set_string_value (
diff --git a/TAO/orbsvcs/orbsvcs/IFRService/IFR_Service_Loader.cpp b/TAO/orbsvcs/orbsvcs/IFRService/IFR_Service_Loader.cpp
index 675bb71e1e0..24a6876cd38 100644
--- a/TAO/orbsvcs/orbsvcs/IFRService/IFR_Service_Loader.cpp
+++ b/TAO/orbsvcs/orbsvcs/IFRService/IFR_Service_Loader.cpp
@@ -52,7 +52,7 @@ TAO_IFR_Service_Loader::init (int argc,
command_line.get_argc (),
command_line.get_TCHAR_argv ());
}
- catch (const CORBA::Exception& ex)
+ catch (const CORBA::Exception&)
{
// @@ Should we log this???
return -1;
diff --git a/TAO/orbsvcs/orbsvcs/IFRService/InterfaceDef_i.cpp b/TAO/orbsvcs/orbsvcs/IFRService/InterfaceDef_i.cpp
index e2670c1b6d5..90e3018c72d 100644
--- a/TAO/orbsvcs/orbsvcs/IFRService/InterfaceDef_i.cpp
+++ b/TAO/orbsvcs/orbsvcs/IFRService/InterfaceDef_i.cpp
@@ -992,7 +992,7 @@ TAO_InterfaceDef_i::name_clash (const char *name)
TAO_IFR_Service_Utils::repo_,
CORBA::dk_Interface);
}
- catch (const CORBA::Exception& ex)
+ catch (const CORBA::Exception&)
{
return 1;
}
diff --git a/TAO/orbsvcs/orbsvcs/IFRService/ValueDef_i.cpp b/TAO/orbsvcs/orbsvcs/IFRService/ValueDef_i.cpp
index f7c7b9dbdd2..98c762d0b23 100644
--- a/TAO/orbsvcs/orbsvcs/IFRService/ValueDef_i.cpp
+++ b/TAO/orbsvcs/orbsvcs/IFRService/ValueDef_i.cpp
@@ -1667,7 +1667,7 @@ TAO_ValueDef_i::name_clash (const char *name)
TAO_IFR_Service_Utils::repo_,
CORBA::dk_Value);
}
- catch (const CORBA::Exception& ex)
+ catch (const CORBA::Exception&)
{
return 1;
}
diff --git a/TAO/orbsvcs/orbsvcs/LoadBalancing/LB_LeastLoaded.cpp b/TAO/orbsvcs/orbsvcs/LoadBalancing/LB_LeastLoaded.cpp
index 79c481f007d..1caafd25627 100644
--- a/TAO/orbsvcs/orbsvcs/LoadBalancing/LB_LeastLoaded.cpp
+++ b/TAO/orbsvcs/orbsvcs/LoadBalancing/LB_LeastLoaded.cpp
@@ -298,7 +298,7 @@ TAO_LB_LeastLoaded::analyze_loads (
}
}
}
- catch (const CosLoadBalancing::LocationNotFound& ex)
+ catch (const CosLoadBalancing::LocationNotFound&)
{
// No load available for the requested location. Try the
// next location.
@@ -456,7 +456,7 @@ TAO_LB_LeastLoaded::get_location (
// ACE_DEBUG ((LM_DEBUG, "NEW MIN_LOAD == %f\n", min_load));
}
- catch (const CosLoadBalancing::LocationNotFound& ex)
+ catch (const CosLoadBalancing::LocationNotFound&)
{
// No load available for the requested location. Try the
// next location.
diff --git a/TAO/orbsvcs/orbsvcs/LoadBalancing/LB_LoadAverage.cpp b/TAO/orbsvcs/orbsvcs/LoadBalancing/LB_LoadAverage.cpp
index f011686083f..ca07c42fbc8 100644
--- a/TAO/orbsvcs/orbsvcs/LoadBalancing/LB_LoadAverage.cpp
+++ b/TAO/orbsvcs/orbsvcs/LoadBalancing/LB_LoadAverage.cpp
@@ -249,7 +249,7 @@ TAO_LB_LoadAverage::analyze_loads (
total_load.value));
*/
}
- catch (const CosLoadBalancing::LocationNotFound& ex)
+ catch (const CosLoadBalancing::LocationNotFound&)
{
// no location found
//
@@ -326,7 +326,7 @@ TAO_LB_LoadAverage::analyze_loads (
}
}
- catch (const CosLoadBalancing::LocationNotFound& ex)
+ catch (const CosLoadBalancing::LocationNotFound&)
{
// no location found
//
diff --git a/TAO/orbsvcs/orbsvcs/LoadBalancing/LB_LoadManager.cpp b/TAO/orbsvcs/orbsvcs/LoadBalancing/LB_LoadManager.cpp
index b5435451887..eff1af2f793 100644
--- a/TAO/orbsvcs/orbsvcs/LoadBalancing/LB_LoadManager.cpp
+++ b/TAO/orbsvcs/orbsvcs/LoadBalancing/LB_LoadManager.cpp
@@ -122,7 +122,7 @@ TAO_LB_LoadManager::push_loads (
this->lm_ref_.in ());
}
}
- catch (const CORBA::Exception& ex)
+ catch (const CORBA::Exception&)
{
// Ignore all exceptions.
}
diff --git a/TAO/orbsvcs/orbsvcs/LoadBalancing/LB_LoadMinimum.cpp b/TAO/orbsvcs/orbsvcs/LoadBalancing/LB_LoadMinimum.cpp
index e71f683933a..ed62d396b8b 100644
--- a/TAO/orbsvcs/orbsvcs/LoadBalancing/LB_LoadMinimum.cpp
+++ b/TAO/orbsvcs/orbsvcs/LoadBalancing/LB_LoadMinimum.cpp
@@ -289,7 +289,7 @@ TAO_LB_LoadMinimum::analyze_loads (
*/
}
- catch (const CosLoadBalancing::LocationNotFound& ex)
+ catch (const CosLoadBalancing::LocationNotFound&)
{
// no location found
//
@@ -363,7 +363,7 @@ TAO_LB_LoadMinimum::analyze_loads (
}
}
}
- catch (const CosLoadBalancing::LocationNotFound& ex)
+ catch (const CosLoadBalancing::LocationNotFound&)
{
// no location found
//
@@ -511,7 +511,7 @@ TAO_LB_LoadMinimum::get_location (
// ACE_DEBUG ((LM_DEBUG, "NEW MIN_LOAD == %f\n", min_load));
}
- catch (const CosLoadBalancing::LocationNotFound& ex)
+ catch (const CosLoadBalancing::LocationNotFound&)
{
// No load available for the requested location. Try the
// next location.
diff --git a/TAO/orbsvcs/orbsvcs/LoadBalancing/LB_ObjectReferenceFactory.cpp b/TAO/orbsvcs/orbsvcs/LoadBalancing/LB_ObjectReferenceFactory.cpp
index f53fac41955..d8a7e1a58dc 100644
--- a/TAO/orbsvcs/orbsvcs/LoadBalancing/LB_ObjectReferenceFactory.cpp
+++ b/TAO/orbsvcs/orbsvcs/LoadBalancing/LB_ObjectReferenceFactory.cpp
@@ -67,7 +67,7 @@ TAO_LB_ObjectReferenceFactory::~TAO_LB_ObjectReferenceFactory (void)
// Clean up all object groups we created.
this->lm_->delete_object (this->fcids_[i].in ());
}
- catch (const CORBA::Exception& ex)
+ catch (const CORBA::Exception&)
{
// Ignore all exceptions.
}
diff --git a/TAO/orbsvcs/orbsvcs/Log/Iterator_i.cpp b/TAO/orbsvcs/orbsvcs/Log/Iterator_i.cpp
index 968076e56f6..0fff26d0bbd 100644
--- a/TAO/orbsvcs/orbsvcs/Log/Iterator_i.cpp
+++ b/TAO/orbsvcs/orbsvcs/Log/Iterator_i.cpp
@@ -55,7 +55,7 @@ TAO_Iterator_i::handle_timeout(const ACE_Time_Value&, const void*)
{
this->destroy ();
}
- catch (const CORBA::Exception& ex)
+ catch (const CORBA::Exception&)
{
}
diff --git a/TAO/orbsvcs/orbsvcs/Log/Log_Compaction_Handler.cpp b/TAO/orbsvcs/orbsvcs/Log/Log_Compaction_Handler.cpp
index b3819127dee..361a2b53ef4 100644
--- a/TAO/orbsvcs/orbsvcs/Log/Log_Compaction_Handler.cpp
+++ b/TAO/orbsvcs/orbsvcs/Log/Log_Compaction_Handler.cpp
@@ -54,7 +54,7 @@ TAO_Log_Compaction_Handler::handle_timeout (const ACE_Time_Value&,
{
this->log_->remove_old_records();
}
- catch (const CORBA::Exception& ex)
+ catch (const CORBA::Exception&)
{
}
diff --git a/TAO/orbsvcs/orbsvcs/Log/Log_Constraint_Visitors.cpp b/TAO/orbsvcs/orbsvcs/Log/Log_Constraint_Visitors.cpp
index 04bf648e406..14722221752 100644
--- a/TAO/orbsvcs/orbsvcs/Log/Log_Constraint_Visitors.cpp
+++ b/TAO/orbsvcs/orbsvcs/Log/Log_Constraint_Visitors.cpp
@@ -270,7 +270,7 @@ TAO_Log_Constraint_Visitor::visit_union_pos (
return -1;
}
}
- catch (const CORBA::Exception& ex)
+ catch (const CORBA::Exception&)
{
return -1;
}
@@ -348,7 +348,7 @@ TAO_Log_Constraint_Visitor::visit_component_pos (TAO_ETCL_Component_Pos *pos)
return comp->accept (this);
}
}
- catch (const CORBA::Exception& ex)
+ catch (const CORBA::Exception&)
{
return -1;
}
@@ -469,7 +469,7 @@ TAO_Log_Constraint_Visitor::visit_component_array (
return comp->accept (this);
}
}
- catch (const CORBA::Exception& ex)
+ catch (const CORBA::Exception&)
{
return -1;
}
@@ -532,7 +532,7 @@ TAO_Log_Constraint_Visitor::visit_special (TAO_ETCL_Special *special)
return -1;
}
}
- catch (const CORBA::Exception& ex)
+ catch (const CORBA::Exception&)
{
return -1;
}
@@ -624,7 +624,7 @@ TAO_Log_Constraint_Visitor::visit_default (TAO_ETCL_Default *def)
TAO_ETCL_Literal_Constraint default_index_value (default_index);
return (disc == default_index_value);
}
- catch (const CORBA::Exception& ex)
+ catch (const CORBA::Exception&)
{
return -1;
}
@@ -951,7 +951,7 @@ TAO_Log_Constraint_Visitor::visit_in (
CORBA::TypeCode_var tc = component->type ();
kind = TAO_DynAnyFactory::unalias (tc.in ());
}
- catch (const CORBA::Exception& ex)
+ catch (const CORBA::Exception&)
{
return return_value;
}
@@ -1044,7 +1044,7 @@ TAO_Log_Constraint_Visitor::sequence_does_contain (
}
}
}
- catch (const CORBA::Exception& ex)
+ catch (const CORBA::Exception&)
{
return 0;
}
@@ -1091,7 +1091,7 @@ TAO_Log_Constraint_Visitor::array_does_contain (
}
}
}
- catch (const CORBA::Exception& ex)
+ catch (const CORBA::Exception&)
{
return 0;
}
@@ -1140,7 +1140,7 @@ TAO_Log_Constraint_Visitor::struct_does_contain (
}
}
}
- catch (const CORBA::Exception& ex)
+ catch (const CORBA::Exception&)
{
return 0;
}
@@ -1181,7 +1181,7 @@ TAO_Log_Constraint_Visitor::union_does_contain (
return (item == element);
}
- catch (const CORBA::Exception& ex)
+ catch (const CORBA::Exception&)
{
return 0;
}
diff --git a/TAO/orbsvcs/orbsvcs/Log/Log_Flush_Handler.cpp b/TAO/orbsvcs/orbsvcs/Log/Log_Flush_Handler.cpp
index a17fe88dd4e..bd4affd95c1 100644
--- a/TAO/orbsvcs/orbsvcs/Log/Log_Flush_Handler.cpp
+++ b/TAO/orbsvcs/orbsvcs/Log/Log_Flush_Handler.cpp
@@ -47,7 +47,7 @@ TAO_Log_Flush_Handler::handle_timeout (const ACE_Time_Value&, const void *)
{
log_->flush ();
}
- catch (const CORBA::Exception& ex)
+ catch (const CORBA::Exception&)
{
}
diff --git a/TAO/orbsvcs/orbsvcs/Naming/Hash_Naming_Context.cpp b/TAO/orbsvcs/orbsvcs/Naming/Hash_Naming_Context.cpp
index cf12f6b92af..9e558e7b8fd 100644
--- a/TAO/orbsvcs/orbsvcs/Naming/Hash_Naming_Context.cpp
+++ b/TAO/orbsvcs/orbsvcs/Naming/Hash_Naming_Context.cpp
@@ -143,7 +143,7 @@ TAO_Hash_Naming_Context::bind (const CosNaming::Name& n,
{
context->bind (simple_name, obj);
}
- catch (const CORBA::TIMEOUT& timeoutEx)
+ catch (const CORBA::TIMEOUT&)
{
throw CosNaming::NamingContext::CannotProceed(
context.in (
@@ -203,7 +203,7 @@ TAO_Hash_Naming_Context::rebind (const CosNaming::Name& n,
{
context->rebind (simple_name, obj);
}
- catch (const CORBA::TIMEOUT& timeoutEx)
+ catch (const CORBA::TIMEOUT&)
{
throw CosNaming::NamingContext::CannotProceed(
context.in (
@@ -269,7 +269,7 @@ TAO_Hash_Naming_Context::bind_context (const CosNaming::Name &n,
{
context->bind_context (simple_name, nc);
}
- catch (const CORBA::TIMEOUT& timeoutEx)
+ catch (const CORBA::TIMEOUT&)
{
throw CosNaming::NamingContext::CannotProceed(
context.in (
@@ -329,7 +329,7 @@ TAO_Hash_Naming_Context::rebind_context (const CosNaming::Name &n,
{
context->rebind_context (simple_name, nc);
}
- catch (const CORBA::TIMEOUT& timeoutEx)
+ catch (const CORBA::TIMEOUT&)
{
throw CosNaming::NamingContext::CannotProceed(
context.in (
@@ -440,7 +440,7 @@ TAO_Hash_Naming_Context::resolve (const CosNaming::Name& n)
resolved_ref = context->resolve (rest_of_name);
return resolved_ref;
}
- catch (const CORBA::TIMEOUT& timeoutEx)
+ catch (const CORBA::TIMEOUT&)
{
throw CosNaming::NamingContext::CannotProceed(
context.in (
@@ -488,7 +488,7 @@ TAO_Hash_Naming_Context::unbind (const CosNaming::Name& n)
{
context->unbind (simple_name);
}
- catch (const CORBA::TIMEOUT& timeoutEx)
+ catch (const CORBA::TIMEOUT&)
{
throw CosNaming::NamingContext::CannotProceed(
context.in (
@@ -557,7 +557,7 @@ TAO_Hash_Naming_Context::bind_new_context (const CosNaming::Name& n)
bind_context (n,
result.in ());
}
- catch (const CORBA::Exception& ex)
+ catch (const CORBA::Exception&)
{
// If the bind() operation fails we must destroy the recently
// created context, should any exceptions be raised by the
@@ -567,7 +567,7 @@ TAO_Hash_Naming_Context::bind_new_context (const CosNaming::Name& n)
{
result->destroy ();
}
- catch (const CORBA::Exception& ex)
+ catch (const CORBA::Exception&)
{
}
}
diff --git a/TAO/orbsvcs/orbsvcs/Naming/Naming_Loader.cpp b/TAO/orbsvcs/orbsvcs/Naming/Naming_Loader.cpp
index e9f01058bb2..27bc4e91147 100644
--- a/TAO/orbsvcs/orbsvcs/Naming/Naming_Loader.cpp
+++ b/TAO/orbsvcs/orbsvcs/Naming/Naming_Loader.cpp
@@ -52,7 +52,7 @@ TAO_Naming_Loader::init (int argc, ACE_TCHAR *argv[])
command_line.get_argc(),
command_line.get_TCHAR_argv ());
}
- catch (const CORBA::Exception& ex)
+ catch (const CORBA::Exception&)
{
// @@ Should we log this???
return -1;
diff --git a/TAO/orbsvcs/orbsvcs/Naming/Naming_Server.cpp b/TAO/orbsvcs/orbsvcs/Naming/Naming_Server.cpp
index eb89e194d69..1d6ceb7f7eb 100644
--- a/TAO/orbsvcs/orbsvcs/Naming/Naming_Server.cpp
+++ b/TAO/orbsvcs/orbsvcs/Naming/Naming_Server.cpp
@@ -674,7 +674,7 @@ TAO_Naming_Server::fini (void)
adapter->unbind ("NameService");
}
}
- catch (const CORBA::Exception& ex)
+ catch (const CORBA::Exception&)
{
// Ignore
}
diff --git a/TAO/orbsvcs/orbsvcs/Naming/Storable_Naming_Context.cpp b/TAO/orbsvcs/orbsvcs/Naming/Storable_Naming_Context.cpp
index 8d421d257c4..94a9fa71c74 100644
--- a/TAO/orbsvcs/orbsvcs/Naming/Storable_Naming_Context.cpp
+++ b/TAO/orbsvcs/orbsvcs/Naming/Storable_Naming_Context.cpp
@@ -656,7 +656,7 @@ TAO_Storable_Naming_Context::make_new_context (
poa->activate_object_with_id (id.in (),
context);
}
- catch (const PortableServer::POA::ObjectAlreadyActive& ex)
+ catch (const PortableServer::POA::ObjectAlreadyActive&)
{
ACE_THROW_RETURN (CosNaming::NamingContext::AlreadyBound(),
CosNaming::NamingContext::_nil ());
@@ -1156,14 +1156,14 @@ TAO_Storable_Naming_Context::bind_new_context (const CosNaming::Name& n)
bind_context (n,
result.in ());
}
- catch (const CORBA::Exception& ex)
+ catch (const CORBA::Exception&)
{
{
try
{
result->destroy ();
}
- catch (const CORBA::Exception& ex)
+ catch (const CORBA::Exception&)
{
// Do nothing?
}
diff --git a/TAO/orbsvcs/orbsvcs/Notify/Any/ProxyPushSupplier.cpp b/TAO/orbsvcs/orbsvcs/Notify/Any/ProxyPushSupplier.cpp
index d6988e64edb..93774bb543a 100644
--- a/TAO/orbsvcs/orbsvcs/Notify/Any/ProxyPushSupplier.cpp
+++ b/TAO/orbsvcs/orbsvcs/Notify/Any/ProxyPushSupplier.cpp
@@ -91,7 +91,7 @@ TAO_Notify_ProxyPushSupplier::load_attrs (const TAO_Notify::NVPList& attrs)
}
this->connect_any_push_consumer(pc.in());
}
- catch (const CORBA::Exception& ex)
+ catch (const CORBA::Exception&)
{
// if we can't reconnect, tough...
}
diff --git a/TAO/orbsvcs/orbsvcs/Notify/Any/PushConsumer.cpp b/TAO/orbsvcs/orbsvcs/Notify/Any/PushConsumer.cpp
index 7bd7ea2fbe8..615c364ffef 100644
--- a/TAO/orbsvcs/orbsvcs/Notify/Any/PushConsumer.cpp
+++ b/TAO/orbsvcs/orbsvcs/Notify/Any/PushConsumer.cpp
@@ -87,7 +87,7 @@ TAO_Notify_PushConsumer::init (CosEventComm::PushConsumer_ptr push_consumer)
ex._tao_print_exception ("Got a TRANSIENT in NS_PushConsumer::init");
ACE_DEBUG ((LM_DEBUG, "(%P|%t) got it for NS_PushConsumer %@\n", this));
}
- catch (const CORBA::Exception& ex)
+ catch (const CORBA::Exception&)
{
// _narrow failed which probably means the interface is CosEventComm type.
}
@@ -142,7 +142,7 @@ TAO_Notify_PushConsumer::get_ior (void) const
CORBA::String_var ior = orb->object_to_string(this->push_consumer_.in());
result = static_cast<const char*> (ior.in ());
}
- catch (const CORBA::Exception& ex)
+ catch (const CORBA::Exception&)
{
result.fast_clear();
}
diff --git a/TAO/orbsvcs/orbsvcs/Notify/Any/PushSupplier.cpp b/TAO/orbsvcs/orbsvcs/Notify/Any/PushSupplier.cpp
index 97784153c56..fce47748b90 100644
--- a/TAO/orbsvcs/orbsvcs/Notify/Any/PushSupplier.cpp
+++ b/TAO/orbsvcs/orbsvcs/Notify/Any/PushSupplier.cpp
@@ -27,7 +27,7 @@ TAO_Notify_PushSupplier::init (CosEventComm::PushSupplier_ptr push_supplier)
{
this->subscribe_ = CosNotifyComm::NotifySubscribe::_narrow (push_supplier);
}
- catch (const CORBA::Exception& ex)
+ catch (const CORBA::Exception&)
{
// _narrow failed which probably means the interface is CosEventComm type.
}
@@ -50,7 +50,7 @@ TAO_Notify_PushSupplier::get_ior (void) const
CORBA::String_var ior = orb->object_to_string(this->push_supplier_.in());
result = static_cast<const char*> (ior.in ());
}
- catch (const CORBA::Exception& ex)
+ catch (const CORBA::Exception&)
{
result.fast_clear();
}
diff --git a/TAO/orbsvcs/orbsvcs/Notify/Consumer.cpp b/TAO/orbsvcs/orbsvcs/Notify/Consumer.cpp
index b5cd82bae96..b036e0d6b6e 100644
--- a/TAO/orbsvcs/orbsvcs/Notify/Consumer.cpp
+++ b/TAO/orbsvcs/orbsvcs/Notify/Consumer.cpp
@@ -195,7 +195,7 @@ TAO_Notify_Consumer::deliver (TAO_Notify_Method_Request_Event * request)
{
this->proxy_supplier ()->destroy ();
}
- catch (const CORBA::Exception& ex)
+ catch (const CORBA::Exception&)
{
// todo is there something meaningful we can do here?
;
@@ -308,7 +308,7 @@ TAO_Notify_Consumer::dispatch_request (TAO_Notify_Method_Request_Event * request
}
result = DISPATCH_DISCARD;
}
- catch (const CORBA::Exception& ex)
+ catch (const CORBA::Exception&)
{
ACE_ERROR ( (LM_ERROR,
ACE_TEXT ("(%P|%t) TAO_Notify_Consumer %d::push "
@@ -434,7 +434,7 @@ TAO_Notify_Consumer::dispatch_batch (const CosNotification::EventBatch& batch)
}
result = DISPATCH_DISCARD;
}
- catch (const CORBA::Exception& ex)
+ catch (const CORBA::Exception&)
{
ACE_ERROR ((LM_ERROR,
ACE_TEXT ("(%P|%t) TAO_Notify_Consumer "
@@ -545,7 +545,7 @@ TAO_Notify_Consumer::dispatch_from_queue (Request_Queue & requests, ACE_Guard <T
{
this->proxy_supplier ()->destroy ();
}
- catch (const CORBA::Exception& ex)
+ catch (const CORBA::Exception&)
{
// todo is there something reasonable to do here?
}
diff --git a/TAO/orbsvcs/orbsvcs/Notify/ETCL_Filter.cpp b/TAO/orbsvcs/orbsvcs/Notify/ETCL_Filter.cpp
index c72a16116ae..c275969d0bd 100644
--- a/TAO/orbsvcs/orbsvcs/Notify/ETCL_Filter.cpp
+++ b/TAO/orbsvcs/orbsvcs/Notify/ETCL_Filter.cpp
@@ -23,7 +23,7 @@ TAO_Notify_ETCL_Filter::~TAO_Notify_ETCL_Filter ()
{
this->remove_all_constraints ();
}
- catch (const CORBA::Exception& ex)
+ catch (const CORBA::Exception&)
{
if (TAO_debug_level)
ACE_DEBUG ((LM_DEBUG, "Error in Filter dtor\n"));
@@ -181,7 +181,7 @@ TAO_Notify_ETCL_Filter::modify_constraints (const CosNotifyFilter::ConstraintIDS
{
this->add_constraints_i (modify_list);
}
- catch (const CORBA::Exception& ex)
+ catch (const CORBA::Exception&)
{
// Restore,
for (index = 0; index < modify_list.length (); ++index)
diff --git a/TAO/orbsvcs/orbsvcs/Notify/EventChannelFactory.cpp b/TAO/orbsvcs/orbsvcs/Notify/EventChannelFactory.cpp
index 6143846dde2..26812db99ae 100644
--- a/TAO/orbsvcs/orbsvcs/Notify/EventChannelFactory.cpp
+++ b/TAO/orbsvcs/orbsvcs/Notify/EventChannelFactory.cpp
@@ -496,7 +496,7 @@ TAO_Notify_EventChannelFactory::activate_self (void)
}
this->reconnect ();
}
- catch (const CORBA::Exception& ex)
+ catch (const CORBA::Exception&)
{
// ignore for now
}
diff --git a/TAO/orbsvcs/orbsvcs/Notify/Notify_Constraint_Visitors.cpp b/TAO/orbsvcs/orbsvcs/Notify/Notify_Constraint_Visitors.cpp
index 4a9d6a27cda..f95a0b5fd2a 100644
--- a/TAO/orbsvcs/orbsvcs/Notify/Notify_Constraint_Visitors.cpp
+++ b/TAO/orbsvcs/orbsvcs/Notify/Notify_Constraint_Visitors.cpp
@@ -323,7 +323,7 @@ TAO_Notify_Constraint_Visitor::visit_union_pos (
else
return -1;
}
- catch (const CORBA::Exception& ex)
+ catch (const CORBA::Exception&)
{
return -1;
}
@@ -400,7 +400,7 @@ TAO_Notify_Constraint_Visitor::visit_component_pos (
return comp->accept (this);
}
}
- catch (const CORBA::Exception& ex)
+ catch (const CORBA::Exception&)
{
return -1;
}
@@ -530,7 +530,7 @@ TAO_Notify_Constraint_Visitor::visit_component_array (TAO_ETCL_Component_Array *
return comp->accept (this);
}
}
- catch (const CORBA::Exception& ex)
+ catch (const CORBA::Exception&)
{
return -1;
}
@@ -614,7 +614,7 @@ TAO_Notify_Constraint_Visitor::visit_special (TAO_ETCL_Special *special)
return -1;
}
}
- catch (const CORBA::Exception& ex)
+ catch (const CORBA::Exception&)
{
return -1;
}
@@ -761,7 +761,7 @@ TAO_Notify_Constraint_Visitor::visit_default (TAO_ETCL_Default *def)
TAO_ETCL_Literal_Constraint default_index_value (default_index);
return (disc == default_index_value);
}
- catch (const CORBA::Exception& ex)
+ catch (const CORBA::Exception&)
{
return -1;
}
@@ -1095,7 +1095,7 @@ TAO_Notify_Constraint_Visitor::visit_in (TAO_ETCL_Binary_Expr *binary)
CORBA::TypeCode_var tc = component->type ();
kind = TAO_DynAnyFactory::unalias (tc.in ());
}
- catch (const CORBA::Exception& ex)
+ catch (const CORBA::Exception&)
{
return return_value;
}
@@ -1185,7 +1185,7 @@ TAO_Notify_Constraint_Visitor::sequence_does_contain (const CORBA::Any *any,
return 1;
}
}
- catch (const CORBA::Exception& ex)
+ catch (const CORBA::Exception&)
{
return 0;
}
@@ -1226,7 +1226,7 @@ TAO_Notify_Constraint_Visitor::array_does_contain (const CORBA::Any *any,
return 1;
}
}
- catch (const CORBA::Exception& ex)
+ catch (const CORBA::Exception&)
{
return 0;
}
@@ -1269,7 +1269,7 @@ TAO_Notify_Constraint_Visitor::struct_does_contain (const CORBA::Any *any,
return 1;
}
}
- catch (const CORBA::Exception& ex)
+ catch (const CORBA::Exception&)
{
return 0;
}
@@ -1306,7 +1306,7 @@ TAO_Notify_Constraint_Visitor::union_does_contain (const CORBA::Any *any,
return (item == element);
}
- catch (const CORBA::Exception& ex)
+ catch (const CORBA::Exception&)
{
return 0;
}
diff --git a/TAO/orbsvcs/orbsvcs/Notify/Peer.cpp b/TAO/orbsvcs/orbsvcs/Notify/Peer.cpp
index 3021d98b55a..93b5e957cbf 100644
--- a/TAO/orbsvcs/orbsvcs/Notify/Peer.cpp
+++ b/TAO/orbsvcs/orbsvcs/Notify/Peer.cpp
@@ -86,20 +86,20 @@ TAO_Notify_Peer::dispatch_updates (const TAO_Notify_EventTypeSeq & added, const
this->dispatch_updates_i (cos_added, cos_removed);
}
}
- catch (const CORBA::OBJECT_NOT_EXIST& not_exist)
+ catch (const CORBA::OBJECT_NOT_EXIST&)
{
this->handle_dispatch_exception ();
}
- catch (const CORBA::NO_IMPLEMENT& no_impl)
+ catch (const CORBA::NO_IMPLEMENT&)
{
// The peer does not implement the offer/subscription_change method
// Do nothing. Later, perhaps set a flag that helps us decide if we should dispatch_updates_i.
}
- catch (const CORBA::SystemException& sysex)
+ catch (const CORBA::SystemException&)
{
this->handle_dispatch_exception ();
}
- catch (const CORBA::Exception& ex)
+ catch (const CORBA::Exception&)
{
// Do nothing
}
diff --git a/TAO/orbsvcs/orbsvcs/Notify/Reconnection_Registry.cpp b/TAO/orbsvcs/orbsvcs/Notify/Reconnection_Registry.cpp
index 59687cd8108..b6b936da109 100644
--- a/TAO/orbsvcs/orbsvcs/Notify/Reconnection_Registry.cpp
+++ b/TAO/orbsvcs/orbsvcs/Notify/Reconnection_Registry.cpp
@@ -214,7 +214,7 @@ namespace TAO_Notify
bad_ids.push_back (entry->ext_id_);
}
}
- catch (const CORBA::Exception& ex)
+ catch (const CORBA::Exception&)
{
ACE_DEBUG ((LM_DEBUG,
ACE_TEXT ("(%P|%t) Reconnection Registry: Exception sending reconnection to client -- discarding registry entry\n")
diff --git a/TAO/orbsvcs/orbsvcs/Notify/Routing_Slip.cpp b/TAO/orbsvcs/orbsvcs/Notify/Routing_Slip.cpp
index 6621a57a627..69b2b67ca70 100644
--- a/TAO/orbsvcs/orbsvcs/Notify/Routing_Slip.cpp
+++ b/TAO/orbsvcs/orbsvcs/Notify/Routing_Slip.cpp
@@ -141,7 +141,7 @@ Routing_Slip::create (
}
}
}
- catch (const CORBA::Exception& ex)
+ catch (const CORBA::Exception&)
{
ACE_ERROR ((LM_ERROR,
ACE_TEXT ("(%P|%t) Routing_Slip::create: Exception reloading event.\n")
diff --git a/TAO/orbsvcs/orbsvcs/Notify/Sequence/SequenceProxyPushConsumer.cpp b/TAO/orbsvcs/orbsvcs/Notify/Sequence/SequenceProxyPushConsumer.cpp
index 9372b97576f..c1bed4b9a60 100644
--- a/TAO/orbsvcs/orbsvcs/Notify/Sequence/SequenceProxyPushConsumer.cpp
+++ b/TAO/orbsvcs/orbsvcs/Notify/Sequence/SequenceProxyPushConsumer.cpp
@@ -120,7 +120,7 @@ TAO_Notify_SequenceProxyPushConsumer::load_attrs (const TAO_Notify::NVPList& att
this->connect_sequence_push_supplier(ps.in());
this->updates_off_ = save_updates;
}
- catch (const CORBA::Exception& ex)
+ catch (const CORBA::Exception&)
{
ACE_ASSERT(0);
}
diff --git a/TAO/orbsvcs/orbsvcs/Notify/Sequence/SequenceProxyPushSupplier.cpp b/TAO/orbsvcs/orbsvcs/Notify/Sequence/SequenceProxyPushSupplier.cpp
index 6ca9c897786..0a258fecdf5 100644
--- a/TAO/orbsvcs/orbsvcs/Notify/Sequence/SequenceProxyPushSupplier.cpp
+++ b/TAO/orbsvcs/orbsvcs/Notify/Sequence/SequenceProxyPushSupplier.cpp
@@ -90,7 +90,7 @@ TAO_Notify_SequenceProxyPushSupplier::load_attrs (const TAO_Notify::NVPList& att
}
this->connect_sequence_push_consumer(pc.in());
}
- catch (const CORBA::Exception& ex)
+ catch (const CORBA::Exception&)
{
// if we can't reconnect, tough
}
diff --git a/TAO/orbsvcs/orbsvcs/Notify/Sequence/SequencePushConsumer.cpp b/TAO/orbsvcs/orbsvcs/Notify/Sequence/SequencePushConsumer.cpp
index 58fa06443d6..557fb18ccdb 100644
--- a/TAO/orbsvcs/orbsvcs/Notify/Sequence/SequencePushConsumer.cpp
+++ b/TAO/orbsvcs/orbsvcs/Notify/Sequence/SequencePushConsumer.cpp
@@ -81,7 +81,7 @@ TAO_Notify_SequencePushConsumer::init (CosNotifyComm::SequencePushConsumer_ptr p
"Got a TRANSIENT in NS_SequencePushConsumer::init");
ACE_DEBUG ((LM_DEBUG, "(%P|%t) got it for NS_SequencePushConsumer %@\n", this));
}
- catch (const CORBA::Exception& ex)
+ catch (const CORBA::Exception&)
{
// _narrow failed
}
@@ -212,7 +212,7 @@ TAO_Notify_SequencePushConsumer::dispatch_from_queue (Request_Queue& requests, A
{
this->proxy_supplier ()->destroy ();
}
- catch (const CORBA::Exception& ex)
+ catch (const CORBA::Exception&)
{
// todo is there something meaningful we can do here?
;
@@ -315,7 +315,7 @@ TAO_Notify_SequencePushConsumer::get_ior (void) const
CORBA::String_var ior = orb->object_to_string (this->push_consumer_.in ());
result = static_cast<const char*> (ior.in ());
}
- catch (const CORBA::Exception& ex)
+ catch (const CORBA::Exception&)
{
result.fast_clear();
}
diff --git a/TAO/orbsvcs/orbsvcs/Notify/Sequence/SequencePushSupplier.cpp b/TAO/orbsvcs/orbsvcs/Notify/Sequence/SequencePushSupplier.cpp
index 025fd468294..b4101eb48cf 100644
--- a/TAO/orbsvcs/orbsvcs/Notify/Sequence/SequencePushSupplier.cpp
+++ b/TAO/orbsvcs/orbsvcs/Notify/Sequence/SequencePushSupplier.cpp
@@ -43,7 +43,7 @@ TAO_Notify_SequencePushSupplier::get_ior (void) const
CORBA::String_var ior = orb->object_to_string(this->push_supplier_.in());
result = static_cast<const char*> (ior.in ());
}
- catch (const CORBA::Exception& ex)
+ catch (const CORBA::Exception&)
{
result.fast_clear();
}
diff --git a/TAO/orbsvcs/orbsvcs/Notify/Structured/StructuredProxyPushConsumer.cpp b/TAO/orbsvcs/orbsvcs/Notify/Structured/StructuredProxyPushConsumer.cpp
index 49b96f8cd8f..df4b9ac9aca 100644
--- a/TAO/orbsvcs/orbsvcs/Notify/Structured/StructuredProxyPushConsumer.cpp
+++ b/TAO/orbsvcs/orbsvcs/Notify/Structured/StructuredProxyPushConsumer.cpp
@@ -116,7 +116,7 @@ TAO_Notify_StructuredProxyPushConsumer::load_attrs (const TAO_Notify::NVPList& a
this->connect_structured_push_supplier(ps.in());
this->updates_off_ = save_updates;
}
- catch (const CORBA::Exception& ex)
+ catch (const CORBA::Exception&)
{
// if we can't reconnect to peer, tough...
}
diff --git a/TAO/orbsvcs/orbsvcs/Notify/Structured/StructuredProxyPushSupplier.cpp b/TAO/orbsvcs/orbsvcs/Notify/Structured/StructuredProxyPushSupplier.cpp
index 81c43a8ff53..2f7147a5078 100644
--- a/TAO/orbsvcs/orbsvcs/Notify/Structured/StructuredProxyPushSupplier.cpp
+++ b/TAO/orbsvcs/orbsvcs/Notify/Structured/StructuredProxyPushSupplier.cpp
@@ -93,7 +93,7 @@ TAO_Notify_StructuredProxyPushSupplier::load_attrs (const TAO_Notify::NVPList& a
}
this->connect_structured_push_consumer(pc.in());
}
- catch (const CORBA::Exception& ex)
+ catch (const CORBA::Exception&)
{
// if we can't connect... tough
}
diff --git a/TAO/orbsvcs/orbsvcs/Notify/Structured/StructuredPushConsumer.cpp b/TAO/orbsvcs/orbsvcs/Notify/Structured/StructuredPushConsumer.cpp
index a80bfdea1b5..328150ec171 100644
--- a/TAO/orbsvcs/orbsvcs/Notify/Structured/StructuredPushConsumer.cpp
+++ b/TAO/orbsvcs/orbsvcs/Notify/Structured/StructuredPushConsumer.cpp
@@ -67,7 +67,7 @@ TAO_Notify_StructuredPushConsumer::init (CosNotifyComm::StructuredPushConsumer_p
"Got a TRANSIENT in NS_StructuredPushConsumer::init");
ACE_DEBUG ((LM_DEBUG, "(%P|%t) got it for NS_StructuredPushConsumer %@\n", this));
}
- catch (const CORBA::Exception& ex)
+ catch (const CORBA::Exception&)
{
// _narrow failed
}
@@ -132,7 +132,7 @@ TAO_Notify_StructuredPushConsumer::get_ior (void) const
CORBA::String_var ior = orb->object_to_string(this->push_consumer_.in());
result = static_cast<const char*> (ior.in ());
}
- catch (const CORBA::Exception& ex)
+ catch (const CORBA::Exception&)
{
result.fast_clear();
}
diff --git a/TAO/orbsvcs/orbsvcs/Notify/Structured/StructuredPushSupplier.cpp b/TAO/orbsvcs/orbsvcs/Notify/Structured/StructuredPushSupplier.cpp
index 752de21c980..7c98e79ef6e 100644
--- a/TAO/orbsvcs/orbsvcs/Notify/Structured/StructuredPushSupplier.cpp
+++ b/TAO/orbsvcs/orbsvcs/Notify/Structured/StructuredPushSupplier.cpp
@@ -42,7 +42,7 @@ TAO_Notify_StructuredPushSupplier::get_ior (void) const
CORBA::String_var ior = orb->object_to_string(this->push_supplier_.in());
result = static_cast<const char*> (ior.in ());
}
- catch (const CORBA::Exception& ex)
+ catch (const CORBA::Exception&)
{
result.fast_clear();
}
diff --git a/TAO/orbsvcs/orbsvcs/PortableGroup/PG_GenericFactory.cpp b/TAO/orbsvcs/orbsvcs/PortableGroup/PG_GenericFactory.cpp
index e8ed26daa88..b14d68eff4d 100644
--- a/TAO/orbsvcs/orbsvcs/PortableGroup/PG_GenericFactory.cpp
+++ b/TAO/orbsvcs/orbsvcs/PortableGroup/PG_GenericFactory.cpp
@@ -44,7 +44,7 @@ TAO_PG_GenericFactory::~TAO_PG_GenericFactory (void)
this->delete_object_i (factory_set,
1 /* Ignore exceptions */);
}
- catch (const CORBA::Exception& ex)
+ catch (const CORBA::Exception&)
{
// Ignore all exceptions.
}
@@ -163,7 +163,7 @@ TAO_PG_GenericFactory::create_object (
*tmp <<= fcid;
}
- catch (const CORBA::Exception& ex)
+ catch (const CORBA::Exception&)
{
this->delete_object_i (factory_set,
1 /* Ignore exceptions */);
@@ -257,7 +257,7 @@ TAO_PG_GenericFactory::delete_object_i (TAO_PG_Factory_Set & factory_set,
{
factory->delete_object (member_fcid);
}
- catch (const CORBA::Exception& ex)
+ catch (const CORBA::Exception&)
{
// Exceptions are generally only ignored when this
// GenericFactory (not the one being invoked above) is
@@ -637,7 +637,7 @@ TAO_PG_GenericFactory::check_minimum_number_members (
if (gap == creation_count)
return;
}
- catch (const PortableGroup::MemberAlreadyPresent& ex)
+ catch (const PortableGroup::MemberAlreadyPresent&)
{
// Ignore this exception and continue.
}
@@ -700,7 +700,7 @@ TAO_PG_GenericFactory::create_member (
type_id,
propagate_member_already_present);
}
- catch (const CORBA::Exception& ex)
+ catch (const CORBA::Exception&)
{
// If the member reference is not nil, then the factory
// was successfully invoked. Since an exception was
diff --git a/TAO/orbsvcs/orbsvcs/PortableGroup/PG_Group_Guard.cpp b/TAO/orbsvcs/orbsvcs/PortableGroup/PG_Group_Guard.cpp
index cb1c9f14f42..43f192ddb25 100644
--- a/TAO/orbsvcs/orbsvcs/PortableGroup/PG_Group_Guard.cpp
+++ b/TAO/orbsvcs/orbsvcs/PortableGroup/PG_Group_Guard.cpp
@@ -38,7 +38,7 @@ TAO_PG_Group_Guard::~TAO_PG_Group_Guard (void)
// used properly.
this->group_manager_.destroy_object_group (this->oid_);
}
- catch (const CORBA::Exception& ex)
+ catch (const CORBA::Exception&)
{
// Ignore all exceptions.
}
diff --git a/TAO/orbsvcs/orbsvcs/PortableGroup/PG_ObjectGroupManager.cpp b/TAO/orbsvcs/orbsvcs/PortableGroup/PG_ObjectGroupManager.cpp
index cc8f022947a..ff196d2d32c 100644
--- a/TAO/orbsvcs/orbsvcs/PortableGroup/PG_ObjectGroupManager.cpp
+++ b/TAO/orbsvcs/orbsvcs/PortableGroup/PG_ObjectGroupManager.cpp
@@ -127,18 +127,18 @@ TAO_PG_ObjectGroupManager::_tao_add_member (
member,
check_type_id);
}
- catch (const PortableGroup::ObjectGroupNotFound& ex)
+ catch (const PortableGroup::ObjectGroupNotFound&)
{
throw CORBA::INTERNAL ();
}
- catch (const PortableGroup::MemberAlreadyPresent& ex)
+ catch (const PortableGroup::MemberAlreadyPresent&)
{
if (propagate_member_already_present)
throw;
else
throw CORBA::INTERNAL ();
}
- catch (const PortableGroup::ObjectNotAdded& ex)
+ catch (const PortableGroup::ObjectNotAdded&)
{
throw PortableGroup::NoFactory (the_location, type_id);
}
diff --git a/TAO/orbsvcs/orbsvcs/PortableGroup/PG_Object_Group.cpp b/TAO/orbsvcs/orbsvcs/PortableGroup/PG_Object_Group.cpp
index ac3cf69da93..75649198581 100644
--- a/TAO/orbsvcs/orbsvcs/PortableGroup/PG_Object_Group.cpp
+++ b/TAO/orbsvcs/orbsvcs/PortableGroup/PG_Object_Group.cpp
@@ -488,7 +488,7 @@ TAO::PG_Object_Group::distribute_iogr (void)
this->tagged_component_.object_group_ref_version,
info->is_primary_);
}
- catch (const CORBA::Exception& ex)
+ catch (const CORBA::Exception&)
{
// we expect an exception
// tao_update_object_group is not a real method
@@ -763,7 +763,7 @@ TAO::PG_Object_Group::create_members (size_t count)
new_reference; // note var-to-var assignment does
// a duplicate
}
- catch (const CORBA::Exception& ex)
+ catch (const CORBA::Exception&)
{
// log, but otherwise ignore the errorf
if (TAO_debug_level > 0)
diff --git a/TAO/orbsvcs/orbsvcs/Property/CosPropertyService_i.cpp b/TAO/orbsvcs/orbsvcs/Property/CosPropertyService_i.cpp
index b7e6766557c..9ec7c80a093 100644
--- a/TAO/orbsvcs/orbsvcs/Property/CosPropertyService_i.cpp
+++ b/TAO/orbsvcs/orbsvcs/Property/CosPropertyService_i.cpp
@@ -1110,7 +1110,7 @@ TAO_PropertySetDef::TAO_PropertySetDef (const CosPropertyService::PropertyTypes
{
this->define_properties_with_modes (allowed_property_defs);
}
- catch (const CORBA::Exception& ex)
+ catch (const CORBA::Exception&)
{
throw;
}
@@ -1402,7 +1402,7 @@ TAO_PropertySetDef::get_property_modes (const CosPropertyService::PropertyNames
property_modes[i].property_name = property_names[i];
property_modes[i].property_mode = mode;
}
- catch (const CORBA::Exception& ex)
+ catch (const CORBA::Exception&)
{
// Return value becomes false.
ret = 1;
diff --git a/TAO/orbsvcs/orbsvcs/Trader/Constraint_Nodes.cpp b/TAO/orbsvcs/orbsvcs/Trader/Constraint_Nodes.cpp
index 550064534be..5fadff5549f 100644
--- a/TAO/orbsvcs/orbsvcs/Trader/Constraint_Nodes.cpp
+++ b/TAO/orbsvcs/orbsvcs/Trader/Constraint_Nodes.cpp
@@ -314,7 +314,7 @@ TAO_Literal_Constraint (CORBA::Any* any)
{
corba_type = type->kind ();
}
- catch (const CORBA::Exception& ex)
+ catch (const CORBA::Exception&)
{
// @@ Seth: Don't know what else to do. Make sure we can tell
// when this constructor fails.
@@ -504,7 +504,7 @@ TAO_Literal_Constraint::comparable_type (CORBA::TypeCode_ptr type)
{
kind = type->kind ();
}
- catch (const CORBA::Exception& ex)
+ catch (const CORBA::Exception&)
{
return return_value;
}
@@ -544,7 +544,7 @@ TAO_Literal_Constraint::comparable_type (CORBA::TypeCode_ptr type)
kind = typecode->kind ();
;
}
- catch (const CORBA::Exception& ex)
+ catch (const CORBA::Exception&)
{
return return_value;
}
diff --git a/TAO/orbsvcs/orbsvcs/Trader/Constraint_Visitors.cpp b/TAO/orbsvcs/orbsvcs/Trader/Constraint_Visitors.cpp
index fcd379d7add..f2f8eab4d95 100644
--- a/TAO/orbsvcs/orbsvcs/Trader/Constraint_Visitors.cpp
+++ b/TAO/orbsvcs/orbsvcs/Trader/Constraint_Visitors.cpp
@@ -525,7 +525,7 @@ sequence_does_contain (CORBA::Any* sequence,
sequence_type =
TAO_Sequence_Extracter_Base::sequence_type (type.in ());
}
- catch (const CORBA::Exception& ex)
+ catch (const CORBA::Exception&)
{
return return_value;
}
@@ -615,7 +615,7 @@ operator () (TAO_DynSequence_i& dyn_any,
CORBA::Short value = dyn_any.get_short ();
return_value = (value == element);
}
- catch (const CORBA::Exception& ex)
+ catch (const CORBA::Exception&)
{
}
return return_value;
@@ -632,7 +632,7 @@ operator () (TAO_DynSequence_i& dyn_any,
CORBA::UShort value = dyn_any.get_ushort ();
return_value = (value == element);
}
- catch (const CORBA::Exception& ex)
+ catch (const CORBA::Exception&)
{
}
return return_value;
@@ -649,7 +649,7 @@ operator () (TAO_DynSequence_i& dyn_any,
CORBA::Long value = dyn_any.get_long ();
return_value = (value == element);
}
- catch (const CORBA::Exception& ex)
+ catch (const CORBA::Exception&)
{
}
return return_value;
@@ -666,7 +666,7 @@ operator () (TAO_DynSequence_i& dyn_any,
CORBA::ULong value = dyn_any.get_ulong ();
return_value = (value == element);
}
- catch (const CORBA::Exception& ex)
+ catch (const CORBA::Exception&)
{
}
return return_value;
@@ -683,7 +683,7 @@ operator () (TAO_DynSequence_i& dyn_any,
CORBA::LongLong value = dyn_any.get_longlong ();
return_value = (value == element);
}
- catch (const CORBA::Exception& ex)
+ catch (const CORBA::Exception&)
{
}
return return_value;
@@ -700,7 +700,7 @@ operator () (TAO_DynSequence_i& dyn_any,
CORBA::ULongLong value = dyn_any.get_ulonglong ();
return_value = (value == element);
}
- catch (const CORBA::Exception& ex)
+ catch (const CORBA::Exception&)
{
}
return return_value;
@@ -717,7 +717,7 @@ operator () (TAO_DynSequence_i& dyn_any,
CORBA::Float value = dyn_any.get_float ();
return_value = (value == element);
}
- catch (const CORBA::Exception& ex){}
+ catch (const CORBA::Exception&){}
return return_value;
}
@@ -732,7 +732,7 @@ operator () (TAO_DynSequence_i& dyn_any,
CORBA::Double value = dyn_any.get_short ();
return_value = (value == element);
}
- catch (const CORBA::Exception& ex){}
+ catch (const CORBA::Exception&){}
return return_value;
}
@@ -747,7 +747,7 @@ operator () (TAO_DynSequence_i& dyn_any,
CORBA::Boolean value = (CORBA::Boolean) dyn_any.get_short ();
return_value = (value == element);
}
- catch (const CORBA::Exception& ex){}
+ catch (const CORBA::Exception&){}
return return_value;
}
@@ -762,7 +762,7 @@ operator () (TAO_DynSequence_i& dyn_any,
const char* value = dyn_any.get_string ();
return_value = (ACE_OS::strcmp (value, element) == 0);
}
- catch (const CORBA::Exception& ex){}
+ catch (const CORBA::Exception&){}
return return_value;
}
@@ -1049,7 +1049,7 @@ visit_in (TAO_Binary_Constraint* binary_in)
seq_type =
TAO_Sequence_Extracter_Base::sequence_type (prop_type);
}
- catch (const CORBA::Exception& ex)
+ catch (const CORBA::Exception&)
{
return return_value;
}
diff --git a/TAO/orbsvcs/orbsvcs/Trader/Interpreter_Utils_T.cpp b/TAO/orbsvcs/orbsvcs/Trader/Interpreter_Utils_T.cpp
index 33894bdc007..6e7c39acff6 100644
--- a/TAO/orbsvcs/orbsvcs/Trader/Interpreter_Utils_T.cpp
+++ b/TAO/orbsvcs/orbsvcs/Trader/Interpreter_Utils_T.cpp
@@ -33,7 +33,7 @@ TAO_find (const CORBA::Any& sequence, const OPERAND_TYPE& element)
dyn_seq.next( );
}
}
- catch (const CORBA::Exception& ex)
+ catch (const CORBA::Exception&)
{
return 0;
}
diff --git a/TAO/orbsvcs/orbsvcs/Trader/Offer_Iterators.cpp b/TAO/orbsvcs/orbsvcs/Trader/Offer_Iterators.cpp
index 08a1ce4896a..074414e3eda 100644
--- a/TAO/orbsvcs/orbsvcs/Trader/Offer_Iterators.cpp
+++ b/TAO/orbsvcs/orbsvcs/Trader/Offer_Iterators.cpp
@@ -96,7 +96,7 @@ TAO_Offer_Iterator_Collection::~TAO_Offer_Iterator_Collection (void)
CORBA::release (offer_iter);
}
- catch (const CORBA::Exception& ex)
+ catch (const CORBA::Exception&)
{
// Don't let the exceptions propagate since we're in a
// destructor!
diff --git a/TAO/orbsvcs/orbsvcs/Trader/Service_Type_Repository.cpp b/TAO/orbsvcs/orbsvcs/Trader/Service_Type_Repository.cpp
index 94232d93a98..1c83064566d 100644
--- a/TAO/orbsvcs/orbsvcs/Trader/Service_Type_Repository.cpp
+++ b/TAO/orbsvcs/orbsvcs/Trader/Service_Type_Repository.cpp
@@ -595,7 +595,7 @@ validate_inheritance (Prop_Map &prop_map,
compare =
super_props[j].value_type->equal (prop_type);
}
- catch (const CORBA::Exception& ex)
+ catch (const CORBA::Exception&)
{
throw CosTradingRepos::ServiceTypeRepository::ValueTypeRedefinition(
super_props[j].name,
diff --git a/TAO/orbsvcs/orbsvcs/Trader/Trader_Constraint_Visitors.cpp b/TAO/orbsvcs/orbsvcs/Trader/Trader_Constraint_Visitors.cpp
index 526b94062eb..f7876eab178 100644
--- a/TAO/orbsvcs/orbsvcs/Trader/Trader_Constraint_Visitors.cpp
+++ b/TAO/orbsvcs/orbsvcs/Trader/Trader_Constraint_Visitors.cpp
@@ -38,7 +38,7 @@ visit_property (TAO_Property_Constraint* literal)
{
value = this->prop_eval_.property_value (prop_index);
}
- catch (const CORBA::Exception& ex)
+ catch (const CORBA::Exception&)
{
return -1;
}
diff --git a/TAO/orbsvcs/orbsvcs/Trader/Trader_Interfaces.cpp b/TAO/orbsvcs/orbsvcs/Trader/Trader_Interfaces.cpp
index 8d8be358d4d..35324eab393 100644
--- a/TAO/orbsvcs/orbsvcs/Trader/Trader_Interfaces.cpp
+++ b/TAO/orbsvcs/orbsvcs/Trader/Trader_Interfaces.cpp
@@ -635,7 +635,7 @@ federated_query (const CosTrading::LinkNameSeq& links,
for (j = 0; j < source_length; j++)
offers[j + target_length] = out_offers_var[j];
}
- catch (const CORBA::Exception& ex)
+ catch (const CORBA::Exception&)
{
// Ah, well, this query failed, move on to the next one.
}
@@ -755,7 +755,7 @@ forward_query (const char* next_hop,
limits_applied);
}
}
- catch (const CORBA::Exception& ex)
+ catch (const CORBA::Exception&)
{
CosTrading::Policy policy;
policy.name = TAO_Policies::POLICY_NAMES[TAO_Policies::STARTING_TRADER];
@@ -1111,7 +1111,7 @@ resolve (const CosTrading::TraderName &name)
remote_reg =
CosTrading::Register::_narrow (link_info->target_reg.in ());
}
- catch (const CORBA::Exception& ex)
+ catch (const CORBA::Exception&)
{
throw CosTrading::Register::UnknownTraderName (name);
}
diff --git a/TAO/orbsvcs/orbsvcs/Trader/Trader_T.cpp b/TAO/orbsvcs/orbsvcs/Trader/Trader_T.cpp
index 8781e19bdd4..8a7f07c85e6 100644
--- a/TAO/orbsvcs/orbsvcs/Trader/Trader_T.cpp
+++ b/TAO/orbsvcs/orbsvcs/Trader/Trader_T.cpp
@@ -100,7 +100,7 @@ TAO_Trader<TRADER_LOCK_TYPE, MAP_LOCK_TYPE>::~TAO_Trader (void)
poa->deactivate_object (id.in ());
}
- catch (const CORBA::Exception& ex)
+ catch (const CORBA::Exception&)
{
// Don't let exceptions propagate out of this call since
// it's the destructor!
diff --git a/TAO/orbsvcs/orbsvcs/Trader/Trader_Utils.cpp b/TAO/orbsvcs/orbsvcs/Trader/Trader_Utils.cpp
index 31e51e01143..4c51123734e 100644
--- a/TAO/orbsvcs/orbsvcs/Trader/Trader_Utils.cpp
+++ b/TAO/orbsvcs/orbsvcs/Trader/Trader_Utils.cpp
@@ -297,7 +297,7 @@ TAO_Property_Evaluator::property_value (int index)
if (this->dp_cache_ != 0)
this->dp_cache_[index] = prop_val;
}
- catch (const CORBA::SystemException& excp)
+ catch (const CORBA::SystemException&)
{
throw
(CosTradingDynamic::DPEvalFailure (name, type, info));
diff --git a/TAO/orbsvcs/orbsvcs/Trader/Trading_Loader.cpp b/TAO/orbsvcs/orbsvcs/Trader/Trading_Loader.cpp
index 72713f4c791..2f38753092c 100644
--- a/TAO/orbsvcs/orbsvcs/Trader/Trading_Loader.cpp
+++ b/TAO/orbsvcs/orbsvcs/Trader/Trading_Loader.cpp
@@ -97,7 +97,7 @@ TAO_Trading_Loader::init (int argc, ACE_TCHAR *argv[])
this->create_object (orb.in (), command_line.get_argc(), command_line.get_TCHAR_argv());
}
- catch (const CORBA::Exception& ex)
+ catch (const CORBA::Exception&)
{
// @@ Should we log this???
return -1;
diff --git a/TAO/orbsvcs/performance-tests/RTEvent/lib/Auto_Disconnect.inl b/TAO/orbsvcs/performance-tests/RTEvent/lib/Auto_Disconnect.inl
index d45069fdf3d..c3b6ed4b9a2 100644
--- a/TAO/orbsvcs/performance-tests/RTEvent/lib/Auto_Disconnect.inl
+++ b/TAO/orbsvcs/performance-tests/RTEvent/lib/Auto_Disconnect.inl
@@ -14,7 +14,7 @@ Disconnect<Client>::operator () (Client *client)
{
client->disconnect ();
}
- catch (const CORBA::Exception& ex){ };
+ catch (const CORBA::Exception&){ };
}
template<class Client> ACE_INLINE
diff --git a/TAO/orbsvcs/performance-tests/RTEvent/lib/Loopback_Consumer.cpp b/TAO/orbsvcs/performance-tests/RTEvent/lib/Loopback_Consumer.cpp
index abb7b7b3b2c..14ca03140b0 100644
--- a/TAO/orbsvcs/performance-tests/RTEvent/lib/Loopback_Consumer.cpp
+++ b/TAO/orbsvcs/performance-tests/RTEvent/lib/Loopback_Consumer.cpp
@@ -78,7 +78,7 @@ Loopback_Consumer::disconnect (void)
{
proxy->disconnect_push_supplier ();
}
- catch (const CORBA::Exception& ex){}
+ catch (const CORBA::Exception&){}
}
void
diff --git a/TAO/orbsvcs/performance-tests/RTEvent/lib/ORB_Shutdown.inl b/TAO/orbsvcs/performance-tests/RTEvent/lib/ORB_Shutdown.inl
index ebdebfbd61a..daca08c071b 100644
--- a/TAO/orbsvcs/performance-tests/RTEvent/lib/ORB_Shutdown.inl
+++ b/TAO/orbsvcs/performance-tests/RTEvent/lib/ORB_Shutdown.inl
@@ -15,5 +15,5 @@ ORB_Shutdown::operator () (CORBA::ORB_ptr orb)
{
orb->shutdown (0);
}
- catch (const CORBA::Exception& ex){ };
+ catch (const CORBA::Exception&){ };
}
diff --git a/TAO/orbsvcs/performance-tests/RTEvent/lib/ORB_Task.cpp b/TAO/orbsvcs/performance-tests/RTEvent/lib/ORB_Task.cpp
index 85fcf3b641e..4723f9ae360 100644
--- a/TAO/orbsvcs/performance-tests/RTEvent/lib/ORB_Task.cpp
+++ b/TAO/orbsvcs/performance-tests/RTEvent/lib/ORB_Task.cpp
@@ -28,7 +28,7 @@ ORB_Task::svc (void)
{
this->orb_->run ();
}
- catch (const CORBA::Exception& ex)
+ catch (const CORBA::Exception&)
{
return -1;
}
diff --git a/TAO/orbsvcs/performance-tests/RTEvent/lib/Shutdown.inl b/TAO/orbsvcs/performance-tests/RTEvent/lib/Shutdown.inl
index 0674d4d85c3..aeca36294bc 100644
--- a/TAO/orbsvcs/performance-tests/RTEvent/lib/Shutdown.inl
+++ b/TAO/orbsvcs/performance-tests/RTEvent/lib/Shutdown.inl
@@ -13,5 +13,5 @@ Shutdown<Client>::operator () (Client *client)
{
client->shutdown ();
}
- catch (const CORBA::Exception& ex){ };
+ catch (const CORBA::Exception&){ };
}
diff --git a/TAO/orbsvcs/performance-tests/RTEvent/lib/Supplier.cpp b/TAO/orbsvcs/performance-tests/RTEvent/lib/Supplier.cpp
index a88127b62bb..014ad19a0cc 100644
--- a/TAO/orbsvcs/performance-tests/RTEvent/lib/Supplier.cpp
+++ b/TAO/orbsvcs/performance-tests/RTEvent/lib/Supplier.cpp
@@ -74,7 +74,7 @@ Supplier::disconnect (void)
{
proxy->disconnect_push_consumer ();
}
- catch (const CORBA::Exception& ex){}
+ catch (const CORBA::Exception&){}
}
void
diff --git a/TAO/orbsvcs/tests/AVStreams/Component_Switching/Connection_Manager.cpp b/TAO/orbsvcs/tests/AVStreams/Component_Switching/Connection_Manager.cpp
index 1f5bc050ae2..e4a5c40fe99 100644
--- a/TAO/orbsvcs/tests/AVStreams/Component_Switching/Connection_Manager.cpp
+++ b/TAO/orbsvcs/tests/AVStreams/Component_Switching/Connection_Manager.cpp
@@ -58,7 +58,7 @@ Connection_Manager::bind_to_receivers (const ACE_CString &sender_name,
this->receiver_context_ =
this->sender_context_->bind_new_context (name);
}
- catch (const CosNaming::NamingContext::AlreadyBound& al_ex)
+ catch (const CosNaming::NamingContext::AlreadyBound&)
{
//
// The sender context already exists, probably created by the
@@ -264,7 +264,7 @@ Connection_Manager::bind_to_sender (const ACE_CString &sender_name,
this->receiver_context_ =
CosNaming::NamingContext::_narrow (object.in ());
}
- catch (const CosNaming::NamingContext::NotFound& al_ex)
+ catch (const CosNaming::NamingContext::NotFound&)
{
name [0].id =
CORBA::string_dup (this->sender_name_.c_str ());
@@ -310,7 +310,7 @@ Connection_Manager::bind_to_sender (const ACE_CString &sender_name,
this->sender_ =
AVStreams::MMDevice::_narrow (object.in ());
}
- catch (const CosNaming::NamingContext::NotFound& al_ex)
+ catch (const CosNaming::NamingContext::NotFound&)
{
// No problem if the sender was not there.
}
@@ -457,7 +457,7 @@ Connection_Manager::unbind_sender (const ACE_CString &sender_name,
"Sender Unbound\n"));
}
}
- catch (const CosNaming::NamingContext::NotFound& al_ex)
+ catch (const CosNaming::NamingContext::NotFound&)
{
ACE_DEBUG ((LM_DEBUG,
"Sender object not found\n"));
@@ -465,7 +465,7 @@ Connection_Manager::unbind_sender (const ACE_CString &sender_name,
}
}
- catch (const CosNaming::NamingContext::NotFound& al_ex)
+ catch (const CosNaming::NamingContext::NotFound&)
{
ACE_DEBUG ((LM_DEBUG,
"Sender Context Not Found\n"));
@@ -535,7 +535,7 @@ Connection_Manager::unbind_receiver (const ACE_CString &sender_name,
"Receiver Unbound\n"));
}
}
- catch (const CosNaming::NamingContext::NotFound& al_ex)
+ catch (const CosNaming::NamingContext::NotFound&)
{
ACE_DEBUG ((LM_DEBUG,
"Receiver Not found\n"));
@@ -543,7 +543,7 @@ Connection_Manager::unbind_receiver (const ACE_CString &sender_name,
}
}
- catch (const CosNaming::NamingContext::NotFound& al_ex)
+ catch (const CosNaming::NamingContext::NotFound&)
{
ACE_DEBUG ((LM_DEBUG,
"Sender Context Not Found\n"));
diff --git a/TAO/orbsvcs/tests/Concurrency/CC_client.cpp b/TAO/orbsvcs/tests/Concurrency/CC_client.cpp
index 5a9c928ccd9..ca5afcee699 100644
--- a/TAO/orbsvcs/tests/Concurrency/CC_client.cpp
+++ b/TAO/orbsvcs/tests/Concurrency/CC_client.cpp
@@ -370,7 +370,7 @@ CC_Client::init_naming_service (void)
this->naming_service_->Init (this->orb_);
}
- catch (const CORBA::Exception& ex)
+ catch (const CORBA::Exception&)
{
return -1;
}
diff --git a/TAO/orbsvcs/tests/Concurrency/CC_command.cpp b/TAO/orbsvcs/tests/Concurrency/CC_command.cpp
index 03025560a15..7072b482fc6 100644
--- a/TAO/orbsvcs/tests/Concurrency/CC_command.cpp
+++ b/TAO/orbsvcs/tests/Concurrency/CC_command.cpp
@@ -72,7 +72,7 @@ CC_Command::GetLockSet (const char *lock_set_name)
ccls_ret = cc_lockset_.in ();
}
}
- catch (const CORBA::Exception& ex)
+ catch (const CORBA::Exception&)
{
throw;
}
diff --git a/TAO/orbsvcs/tests/EC_Custom_Marshal/ECM_Supplier.cpp b/TAO/orbsvcs/tests/EC_Custom_Marshal/ECM_Supplier.cpp
index 69323bee397..24b73a7dca1 100644
--- a/TAO/orbsvcs/tests/EC_Custom_Marshal/ECM_Supplier.cpp
+++ b/TAO/orbsvcs/tests/EC_Custom_Marshal/ECM_Supplier.cpp
@@ -450,17 +450,17 @@ Test_Supplier::disconnect (void)
{
proxy->disconnect_push_consumer ();
}
- catch (const CORBA::OBJECT_NOT_EXIST& ex)
+ catch (const CORBA::OBJECT_NOT_EXIST&)
{
// Ignore, the EC can shutdown before we get a chance to
// disconnect
}
- catch (const CORBA::TRANSIENT& ex)
+ catch (const CORBA::TRANSIENT&)
{
// Ignore, the EC can shutdown before we get a chance to
// disconnect
}
- catch (const CORBA::Exception& ex)
+ catch (const CORBA::Exception&)
{
throw;
}
diff --git a/TAO/orbsvcs/tests/EC_Mcast/EC_Mcast.cpp b/TAO/orbsvcs/tests/EC_Mcast/EC_Mcast.cpp
index 167661c7c83..94604b1bb1f 100644
--- a/TAO/orbsvcs/tests/EC_Mcast/EC_Mcast.cpp
+++ b/TAO/orbsvcs/tests/EC_Mcast/EC_Mcast.cpp
@@ -801,7 +801,7 @@ ECM_Consumer::close (void)
this->consumer_admin_ =
RtecEventChannelAdmin::ConsumerAdmin::_nil ();
}
- catch (const CORBA::Exception& ex)
+ catch (const CORBA::Exception&)
{
this->consumer_admin_ =
RtecEventChannelAdmin::ConsumerAdmin::_nil ();
diff --git a/TAO/orbsvcs/tests/EC_Multiple/EC_Multiple.cpp b/TAO/orbsvcs/tests/EC_Multiple/EC_Multiple.cpp
index 656b0258f7e..cbc8de728be 100644
--- a/TAO/orbsvcs/tests/EC_Multiple/EC_Multiple.cpp
+++ b/TAO/orbsvcs/tests/EC_Multiple/EC_Multiple.cpp
@@ -703,7 +703,7 @@ Test_ECG::activate_suppliers (RtecEventChannelAdmin::EventChannel_ptr local_ec)
local_ec);
}
}
- catch (const CORBA::Exception& ex)
+ catch (const CORBA::Exception&)
{
throw;
}
diff --git a/TAO/orbsvcs/tests/Event/Basic/MT_Disconnect.cpp b/TAO/orbsvcs/tests/Event/Basic/MT_Disconnect.cpp
index 517abfd04ff..de9e8f53bab 100644
--- a/TAO/orbsvcs/tests/Event/Basic/MT_Disconnect.cpp
+++ b/TAO/orbsvcs/tests/Event/Basic/MT_Disconnect.cpp
@@ -113,7 +113,7 @@ Task::svc ()
{
this->run_iteration ();
}
- catch (const CORBA::Exception& ex)
+ catch (const CORBA::Exception&)
{
return -1;
}
diff --git a/TAO/orbsvcs/tests/Event/Basic/Random.cpp b/TAO/orbsvcs/tests/Event/Basic/Random.cpp
index a81426f0c6a..67056cae531 100644
--- a/TAO/orbsvcs/tests/Event/Basic/Random.cpp
+++ b/TAO/orbsvcs/tests/Event/Basic/Random.cpp
@@ -364,7 +364,7 @@ RND_Timer::push (const RtecEventComm::EventSet &event)
{
this->driver_->timer (event[0]);
}
- catch (const CORBA::Exception& ex)
+ catch (const CORBA::Exception&)
{
}
}
@@ -502,7 +502,7 @@ RND_Supplier::svc (void)
this->push_new_event ();
}
- catch (const CORBA::Exception& ex)
+ catch (const CORBA::Exception&)
{
}
if (this->verbose_
diff --git a/TAO/orbsvcs/tests/Event/Basic/Reconnect.cpp b/TAO/orbsvcs/tests/Event/Basic/Reconnect.cpp
index ebeab3df0bb..9bac1970f9c 100644
--- a/TAO/orbsvcs/tests/Event/Basic/Reconnect.cpp
+++ b/TAO/orbsvcs/tests/Event/Basic/Reconnect.cpp
@@ -136,7 +136,7 @@ EC_Reconnect::execute_consumer_test (void)
ACE_DEBUG ((LM_ERROR, "Expected exception\n"));
}
- catch (const RtecEventChannelAdmin::AlreadyConnected& ex)
+ catch (const RtecEventChannelAdmin::AlreadyConnected&)
{
/* do nothing */
}
@@ -190,7 +190,7 @@ EC_Reconnect::execute_supplier_test (void)
ACE_DEBUG ((LM_ERROR, "Expected exception\n"));
}
- catch (const RtecEventChannelAdmin::AlreadyConnected& ex)
+ catch (const RtecEventChannelAdmin::AlreadyConnected&)
{
/* do nothing */
}
diff --git a/TAO/orbsvcs/tests/Event/Mcast/Common/EC_Wrapper.cpp b/TAO/orbsvcs/tests/Event/Mcast/Common/EC_Wrapper.cpp
index 5988fdd7ce0..ef5097c6c7a 100644
--- a/TAO/orbsvcs/tests/Event/Mcast/Common/EC_Wrapper.cpp
+++ b/TAO/orbsvcs/tests/Event/Mcast/Common/EC_Wrapper.cpp
@@ -26,7 +26,7 @@ EC_Wrapper::~EC_Wrapper (void)
{
this->destroy_ec ();
}
- catch (const CORBA::Exception& ex)
+ catch (const CORBA::Exception&)
{
// ignore
}
@@ -116,7 +116,7 @@ EC_Wrapper::destroy (void)
{
this->destroy_ec ();
}
- catch (const CORBA::Exception& ex)
+ catch (const CORBA::Exception&)
{
this->orb_->shutdown ();
throw;
diff --git a/TAO/orbsvcs/tests/Event/Mcast/Two_Way/application.cpp b/TAO/orbsvcs/tests/Event/Mcast/Two_Way/application.cpp
index 4b1da1ae0a0..d93f5402332 100644
--- a/TAO/orbsvcs/tests/Event/Mcast/Two_Way/application.cpp
+++ b/TAO/orbsvcs/tests/Event/Mcast/Two_Way/application.cpp
@@ -251,7 +251,7 @@ Heartbeat_Application::init (CORBA::ORB_var orb,
{
this->connect_as_consumer ();
}
- catch (const CORBA::Exception& ex)
+ catch (const CORBA::Exception&)
{
this->consumer_proxy_disconnect_.execute ();
throw;
diff --git a/TAO/orbsvcs/tests/Event/lib/Counting_Supplier.cpp b/TAO/orbsvcs/tests/Event/lib/Counting_Supplier.cpp
index 4c7ac41f29c..da31b33f29d 100644
--- a/TAO/orbsvcs/tests/Event/lib/Counting_Supplier.cpp
+++ b/TAO/orbsvcs/tests/Event/lib/Counting_Supplier.cpp
@@ -159,7 +159,7 @@ EC_Counting_Supplier_Task::svc ()
{
this->run ();
}
- catch (const CORBA::Exception& ex)
+ catch (const CORBA::Exception&)
{
return -1;
}
diff --git a/TAO/orbsvcs/tests/FT_App/FT_Client.cpp b/TAO/orbsvcs/tests/FT_App/FT_Client.cpp
index 38604e57127..10cc9236643 100644
--- a/TAO/orbsvcs/tests/FT_App/FT_Client.cpp
+++ b/TAO/orbsvcs/tests/FT_App/FT_Client.cpp
@@ -444,7 +444,7 @@ int FTClientMain::pass (
// not quite sure why, yet. Dale
this->replica_->is_alive();
}
- catch (const CORBA::Exception& ex)
+ catch (const CORBA::Exception&)
{
ACE_OS::fprintf (stdout, "FT Client: Ignoring expected exception during shutdown.\n");
; // ignore exception during shutdown
diff --git a/TAO/orbsvcs/tests/FT_App/StubFaultNotifier.cpp b/TAO/orbsvcs/tests/FT_App/StubFaultNotifier.cpp
index 862c6c94d34..49f629c8040 100644
--- a/TAO/orbsvcs/tests/FT_App/StubFaultNotifier.cpp
+++ b/TAO/orbsvcs/tests/FT_App/StubFaultNotifier.cpp
@@ -450,7 +450,7 @@ int StubFaultNotifier::idle(int & result)
}
}
}
- catch (const CORBA::Exception& ex)
+ catch (const CORBA::Exception&)
{
quit = 1;
}
diff --git a/TAO/orbsvcs/tests/Interoperable_Naming/ncontextext_client_i.cpp b/TAO/orbsvcs/tests/Interoperable_Naming/ncontextext_client_i.cpp
index 739d31e0330..47a07134c43 100644
--- a/TAO/orbsvcs/tests/Interoperable_Naming/ncontextext_client_i.cpp
+++ b/TAO/orbsvcs/tests/Interoperable_Naming/ncontextext_client_i.cpp
@@ -173,7 +173,7 @@ NContextExt_Client_i::run (void)
factory_object =
this->naming_context_->resolve_str (str_name.in ());
}
- catch (const CosNaming::NamingContext::NotFound& ex)
+ catch (const CosNaming::NamingContext::NotFound&)
{
}
diff --git a/TAO/orbsvcs/tests/Log/Basic_Log_Test/Basic_Log_Test.cpp b/TAO/orbsvcs/tests/Log/Basic_Log_Test/Basic_Log_Test.cpp
index d946d3c9594..2420a638b20 100644
--- a/TAO/orbsvcs/tests/Log/Basic_Log_Test/Basic_Log_Test.cpp
+++ b/TAO/orbsvcs/tests/Log/Basic_Log_Test/Basic_Log_Test.cpp
@@ -138,7 +138,7 @@ BasicLog_Test::test_CreateLog (CORBA::ULongLong maxSize)
-1);
}
*/
- catch (const DsLogAdmin::InvalidThreshold& threshold)
+ catch (const DsLogAdmin::InvalidThreshold&)
{
ACE_ERROR_RETURN ((LM_ERROR,
"invalid threshold creating basic log.\n"),
@@ -199,7 +199,7 @@ BasicLog_Test::test_LogAction ()
basicLog_->set_log_full_action (DsLogAdmin::wrap);
ACE_ERROR_RETURN((LM_ERROR,"Testing log action halt failed\n"),-1);
}
- catch (const DsLogAdmin::LogFull& xLogFull)
+ catch (const DsLogAdmin::LogFull&)
{
ACE_DEBUG ((LM_DEBUG,"Correctly caught exception LogFull\n"));
@@ -234,7 +234,7 @@ BasicLog_Test::test_LogAction ()
ACE_DEBUG ((LM_DEBUG,"Test to wrap worked. %d written.\n",i));
}
- catch (const DsLogAdmin::LogFull& xLogFull)
+ catch (const DsLogAdmin::LogFull&)
{
ACE_DEBUG ((LM_ERROR,"Caught exception LogFull. Fail testing wrapping of the log.\n"));
return -1;
@@ -356,7 +356,7 @@ BasicLog_Test::test_adminState()
ACE_ERROR_RETURN((LM_ERROR,"Setting administrative state to lock failed. DsLogAdmin::LogLocked not thrown.\n"),-1);
}
- catch (const DsLogAdmin::LogLocked& xLocked)
+ catch (const DsLogAdmin::LogLocked&)
{
ACE_DEBUG ((LM_DEBUG,"Setting administrative state to lock succeeded. DsLogAdmin::LogLocked was caught.\n"));
}
@@ -375,7 +375,7 @@ BasicLog_Test::test_adminState()
ACE_RETURN(0);
}
- catch (const DsLogAdmin::LogLocked& xLocked)
+ catch (const DsLogAdmin::LogLocked&)
{
ACE_DEBUG ((LM_DEBUG,"Setting administrative state to lock faild. DsLogAdmin::LogLocked was caught.\n"));
}
@@ -396,7 +396,7 @@ BasicLog_Test::test_logSize (void)
"DsLogAdmin::InvalidParam not thrown.\n"),
-1);
}
- catch (const DsLogAdmin::InvalidParam& xParam)
+ catch (const DsLogAdmin::InvalidParam&)
{
ACE_DEBUG ((LM_DEBUG,
"Setting max size less than current size succeeded.\n"
@@ -593,7 +593,7 @@ BasicLog_Test::test_log_destroy (void)
this->write_records (1);
ACE_DEBUG ((LM_INFO, "Wrote to log\n"));
}
- catch (const CORBA::OBJECT_NOT_EXIST& ex)
+ catch (const CORBA::OBJECT_NOT_EXIST&)
{
ACE_DEBUG ((LM_ERROR,
"Test of destroy log succeeded: "
@@ -712,7 +712,7 @@ BasicLog_Test::test_capacity_alarm_threshold (void)
"DsLogAdmin::InvalidThreshold not thrown.\n"),
-1);
}
- catch (const DsLogAdmin::InvalidThreshold& xParam)
+ catch (const DsLogAdmin::InvalidThreshold&)
{
ACE_DEBUG ((LM_DEBUG,
"Setting an invalid alarm threshold succeeded. "
@@ -731,7 +731,7 @@ BasicLog_Test::test_capacity_alarm_threshold (void)
"DsLogAdmin::InvalidThreshold not thrown.\n"),
-1);
}
- catch (const DsLogAdmin::InvalidThreshold& xParam)
+ catch (const DsLogAdmin::InvalidThreshold&)
{
ACE_DEBUG ((LM_DEBUG,
"Setting an invalid alarm threshold succeeded. "
diff --git a/TAO/orbsvcs/tests/Notify/Basic/AdminProperties.cpp b/TAO/orbsvcs/tests/Notify/Basic/AdminProperties.cpp
index 5d0e88a9fcb..d18ea21d273 100644
--- a/TAO/orbsvcs/tests/Notify/Basic/AdminProperties.cpp
+++ b/TAO/orbsvcs/tests/Notify/Basic/AdminProperties.cpp
@@ -79,7 +79,7 @@ AdminProperties_Task::svc (void)
ACE_DEBUG((LM_DEBUG, "+"));
this->supplier_->send_event (event);
}
- catch (const CORBA::IMP_LIMIT& impl_limit)
+ catch (const CORBA::IMP_LIMIT&)
{
if (TAO_debug_level > 0)
ACE_DEBUG ((LM_DEBUG, "\nEvent %d was not send due to Impl Limit reached\n", i));
@@ -387,7 +387,7 @@ AdminProperties::create_suppliers (void)
this->suppliers_connected_count_++;
}
}
- catch (const CORBA::IMP_LIMIT& impl_limit)
+ catch (const CORBA::IMP_LIMIT&)
{
if (TAO_debug_level)
ACE_DEBUG ((LM_DEBUG, "\nImpl Limit excpetion when connecting supplier\n"));
@@ -422,7 +422,7 @@ AdminProperties::create_consumers (void)
this->consumers_connected_count_++;
}
}
- catch (const CORBA::IMP_LIMIT& impl_limit)
+ catch (const CORBA::IMP_LIMIT&)
{
if (TAO_debug_level)
ACE_DEBUG ((LM_DEBUG, "\nImpl Limit exception when connecting consumer\n"));
diff --git a/TAO/orbsvcs/tests/Notify/lib/Peer_T.cpp b/TAO/orbsvcs/tests/Notify/lib/Peer_T.cpp
index 4bae99522a2..2f54bdbbf88 100644
--- a/TAO/orbsvcs/tests/Notify/lib/Peer_T.cpp
+++ b/TAO/orbsvcs/tests/Notify/lib/Peer_T.cpp
@@ -174,7 +174,7 @@ TAO_Notify_Tests_Peer_T<Peer_Traits>::disconnect (void)
{
this->disconnect_from_proxy ();
}
- catch (const CORBA::Exception& ex)
+ catch (const CORBA::Exception&)
{
ACE_DEBUG ((LM_DEBUG,
"Peer %s failed to disconnect from proxy.",
@@ -185,7 +185,7 @@ TAO_Notify_Tests_Peer_T<Peer_Traits>::disconnect (void)
{
this->deactivate ();
}
- catch (const CORBA::Exception& ex)
+ catch (const CORBA::Exception&)
{
ACE_DEBUG ((LM_DEBUG,
"Peer %s failed to deactivate.",
diff --git a/TAO/orbsvcs/tests/Notify/performance-tests/RedGreen/RedGreen_Test.cpp b/TAO/orbsvcs/tests/Notify/performance-tests/RedGreen/RedGreen_Test.cpp
index 19753b337d0..7a37115c4b3 100644
--- a/TAO/orbsvcs/tests/Notify/performance-tests/RedGreen/RedGreen_Test.cpp
+++ b/TAO/orbsvcs/tests/Notify/performance-tests/RedGreen/RedGreen_Test.cpp
@@ -84,7 +84,7 @@ RedGreen_Test::destroy_ec ()
{
this->ec_->destroy ();
}
- catch (const CORBA::COMM_FAILURE& ex)
+ catch (const CORBA::COMM_FAILURE&)
{
// Silently swallow this b/c this could mean the EC is gone
// or that the network is hosed. Either way, we're not waiting
diff --git a/TAO/orbsvcs/tests/Security/MT_IIOP_SSL/Client_Worker.cpp b/TAO/orbsvcs/tests/Security/MT_IIOP_SSL/Client_Worker.cpp
index 4387fae58b2..7e496abba40 100644
--- a/TAO/orbsvcs/tests/Security/MT_IIOP_SSL/Client_Worker.cpp
+++ b/TAO/orbsvcs/tests/Security/MT_IIOP_SSL/Client_Worker.cpp
@@ -27,7 +27,7 @@ Client_Worker::validate_connection (void)
ACE_DEBUG (( LM_DEBUG,
"******** VALIDATED ******* \n"));
}
- catch (const CORBA::Exception& ex)
+ catch (const CORBA::Exception&)
{
}
}
diff --git a/TAO/orbsvcs/tests/Trading/Offer_Exporter.cpp b/TAO/orbsvcs/tests/Trading/Offer_Exporter.cpp
index 68641508765..e2a7d1997bf 100644
--- a/TAO/orbsvcs/tests/Trading/Offer_Exporter.cpp
+++ b/TAO/orbsvcs/tests/Trading/Offer_Exporter.cpp
@@ -179,7 +179,7 @@ TAO_Offer_Exporter::export_offers_to_all (void)
this->export_to (link_info->target_reg.in ());
}
- catch (const CORBA::Exception& ex)
+ catch (const CORBA::Exception&)
{
// @@ IGNORE??
}
diff --git a/TAO/orbsvcs/tests/Trading/Service_Type_Exporter.cpp b/TAO/orbsvcs/tests/Trading/Service_Type_Exporter.cpp
index a09226a8b65..ad62f462b2e 100644
--- a/TAO/orbsvcs/tests/Trading/Service_Type_Exporter.cpp
+++ b/TAO/orbsvcs/tests/Trading/Service_Type_Exporter.cpp
@@ -116,7 +116,7 @@ TAO_Service_Type_Exporter::add_all_types_to_all (void)
CosTradingRepos::ServiceTypeRepository::_narrow (remote_repos.in ());
}
- catch (const CORBA::Exception& ex)
+ catch (const CORBA::Exception&)
{
// @@ Seth, Ignore all these exceptions?
}
diff --git a/TAO/orbsvcs/tests/Trading/TT_Info.cpp b/TAO/orbsvcs/tests/Trading/TT_Info.cpp
index ac783c39186..f1bc1fcf674 100644
--- a/TAO/orbsvcs/tests/Trading/TT_Info.cpp
+++ b/TAO/orbsvcs/tests/Trading/TT_Info.cpp
@@ -168,7 +168,7 @@ TT_Info::dump_properties (const CosTrading::PropertySeq& prop_seq,
ACE_DEBUG ((LM_DEBUG, "Dynamic Property\n"));
}
}
- catch (const CORBA::Exception& ex)
+ catch (const CORBA::Exception&)
{
// @@ Seth, don't pass the exceptions back?
ACE_DEBUG ((LM_DEBUG, "Error retrieving property value.\n"));
diff --git a/TAO/orbsvcs/tests/Trading/colocated_test.cpp b/TAO/orbsvcs/tests/Trading/colocated_test.cpp
index 4b7a7dfb84f..2a7ed294e0f 100644
--- a/TAO/orbsvcs/tests/Trading/colocated_test.cpp
+++ b/TAO/orbsvcs/tests/Trading/colocated_test.cpp
@@ -101,7 +101,7 @@ main (int argc, char** argv)
offer_importer.perform_queries ();
}
- catch (const CORBA::Exception& ex)
+ catch (const CORBA::Exception&)
{
ACE_ERROR_RETURN ((LM_ERROR, "%p\n", "Trader Export Tests Failed"), -1);
}
diff --git a/TAO/orbsvcs/tests/Trading/export_test.cpp b/TAO/orbsvcs/tests/Trading/export_test.cpp
index 5dafa58c709..adb0d0b4042 100644
--- a/TAO/orbsvcs/tests/Trading/export_test.cpp
+++ b/TAO/orbsvcs/tests/Trading/export_test.cpp
@@ -122,7 +122,7 @@ main (int argc, char** argv)
orb_manager.run ();
}
- catch (const CORBA::Exception& ex)
+ catch (const CORBA::Exception&)
{
ACE_ERROR_RETURN ((LM_ERROR, "Trader Export Tests Failed"), -1);
}
diff --git a/TAO/orbsvcs/tests/Trading/import_test.cpp b/TAO/orbsvcs/tests/Trading/import_test.cpp
index b2b99b605df..9393d00cbf1 100644
--- a/TAO/orbsvcs/tests/Trading/import_test.cpp
+++ b/TAO/orbsvcs/tests/Trading/import_test.cpp
@@ -45,7 +45,7 @@ main (int argc, char** argv)
offer_importer.perform_directed_queries ();
}
}
- catch (const CORBA::Exception& ex)
+ catch (const CORBA::Exception&)
{
ACE_ERROR_RETURN ((LM_ERROR, "Trader Import Tests Failed."), -1);
}
diff --git a/TAO/orbsvcs/tests/tests_svc_loader/tests_svc_loader.cpp b/TAO/orbsvcs/tests/tests_svc_loader/tests_svc_loader.cpp
index 31338b4d59d..295242e9569 100644
--- a/TAO/orbsvcs/tests/tests_svc_loader/tests_svc_loader.cpp
+++ b/TAO/orbsvcs/tests/tests_svc_loader/tests_svc_loader.cpp
@@ -78,7 +78,7 @@ int main (int argc, char *argv [])
}
}
- catch (const CORBA::SystemException& e)
+ catch (const CORBA::SystemException&)
{
ACE_DEBUG ((LM_ERROR,
"CORBA System Exception Raised!\n"));
diff --git a/TAO/performance-tests/CSD_Strategy/TestInf/AppHelper.cpp b/TAO/performance-tests/CSD_Strategy/TestInf/AppHelper.cpp
index ac58d07c7e6..a8839f31939 100644
--- a/TAO/performance-tests/CSD_Strategy/TestInf/AppHelper.cpp
+++ b/TAO/performance-tests/CSD_Strategy/TestInf/AppHelper.cpp
@@ -81,7 +81,7 @@ AppHelper::validate_connection (CORBA::Object_ptr obj)
#endif /* TAO_HAS_MESSAGING == 1 */
return true;
}
- catch (const CORBA::Exception& ex)
+ catch (const CORBA::Exception&)
{
}
}
diff --git a/TAO/performance-tests/CSD_Strategy/TestServant/Foo_ClientEngine.cpp b/TAO/performance-tests/CSD_Strategy/TestServant/Foo_ClientEngine.cpp
index e2751d92e54..d0e6dd72566 100644
--- a/TAO/performance-tests/CSD_Strategy/TestServant/Foo_ClientEngine.cpp
+++ b/TAO/performance-tests/CSD_Strategy/TestServant/Foo_ClientEngine.cpp
@@ -55,7 +55,7 @@ Foo_ClientEngine::execute(unsigned num_loops)
{
this->obj_->op5();
}
- catch (const FooException& ex)
+ catch (const FooException&)
{
// Expected
caught_exception = true;
diff --git a/TAO/performance-tests/Cubit/TAO/IDL_Cubit/Cubit_Client.cpp b/TAO/performance-tests/Cubit/TAO/IDL_Cubit/Cubit_Client.cpp
index 856a151969b..6ffffc010c1 100644
--- a/TAO/performance-tests/Cubit/TAO/IDL_Cubit/Cubit_Client.cpp
+++ b/TAO/performance-tests/Cubit/TAO/IDL_Cubit/Cubit_Client.cpp
@@ -1535,7 +1535,7 @@ Cubit_Client::run ()
{
this->cubit_->ping ();
}
- catch (const CORBA::Exception& ex)
+ catch (const CORBA::Exception&)
{
// Dont do anything..
}
diff --git a/TAO/performance-tests/Latency/Collocation/Collocated_Test.cpp b/TAO/performance-tests/Latency/Collocation/Collocated_Test.cpp
index 68e79f1a642..403e7ef30b8 100644
--- a/TAO/performance-tests/Latency/Collocation/Collocated_Test.cpp
+++ b/TAO/performance-tests/Latency/Collocation/Collocated_Test.cpp
@@ -104,7 +104,7 @@ main (int argc, char *argv[])
ACE_Thread_Manager::instance ()->wait ();
}
- catch (const CORBA::Exception& ex)
+ catch (const CORBA::Exception&)
{
// Ignore exceptions..
}
diff --git a/TAO/performance-tests/Protocols/distributor.cpp b/TAO/performance-tests/Protocols/distributor.cpp
index e6a42735208..c355e16a94d 100644
--- a/TAO/performance-tests/Protocols/distributor.cpp
+++ b/TAO/performance-tests/Protocols/distributor.cpp
@@ -188,7 +188,7 @@ test_i::start_test (CORBA::Long session_id,
goto test_protocol_success;
}
- catch (const CORBA::TRANSIENT& exception)
+ catch (const CORBA::TRANSIENT&)
{
++j;
@@ -230,7 +230,7 @@ test_i::start_test (CORBA::Long session_id,
goto base_protocol_success;
}
- catch (const CORBA::TRANSIENT& exception)
+ catch (const CORBA::TRANSIENT&)
{
ACE_OS::sleep (1);
diff --git a/TAO/performance-tests/Protocols/sender.cpp b/TAO/performance-tests/Protocols/sender.cpp
index 9e2095b67c1..81d8ba3eeba 100644
--- a/TAO/performance-tests/Protocols/sender.cpp
+++ b/TAO/performance-tests/Protocols/sender.cpp
@@ -475,7 +475,7 @@ Worker::setup (void)
goto test_protocol_success;
}
- catch (const CORBA::TRANSIENT& exception)
+ catch (const CORBA::TRANSIENT&)
{
++j;
@@ -517,7 +517,7 @@ Worker::setup (void)
goto base_protocol_success;
}
- catch (const CORBA::TRANSIENT& exception)
+ catch (const CORBA::TRANSIENT&)
{
ACE_OS::sleep (1);
diff --git a/TAO/performance-tests/Sequence_Latency/AMI/Server_Task.cpp b/TAO/performance-tests/Sequence_Latency/AMI/Server_Task.cpp
index ef75d7d3c8c..157dbe15c4f 100644
--- a/TAO/performance-tests/Sequence_Latency/AMI/Server_Task.cpp
+++ b/TAO/performance-tests/Sequence_Latency/AMI/Server_Task.cpp
@@ -17,6 +17,6 @@ Server_Task::svc (void)
{
this->orb_->run ();
}
- catch (const CORBA::Exception& ex){}
+ catch (const CORBA::Exception&){}
return 0;
}
diff --git a/TAO/performance-tests/Sequence_Latency/Thread_Per_Connection/Client_Task.cpp b/TAO/performance-tests/Sequence_Latency/Thread_Per_Connection/Client_Task.cpp
index e510fd79a84..8e892fb74ec 100644
--- a/TAO/performance-tests/Sequence_Latency/Thread_Per_Connection/Client_Task.cpp
+++ b/TAO/performance-tests/Sequence_Latency/Thread_Per_Connection/Client_Task.cpp
@@ -49,7 +49,7 @@ Client_Task::svc (void)
this->test_double_seq ();
}
}
- catch (const CORBA::Exception& ex)
+ catch (const CORBA::Exception&)
{
return 0;
}
@@ -77,7 +77,7 @@ Client_Task::validate_connection (void)
{
(void) this->roundtrip_->test_octet_method (oc, dummy);
}
- catch (const CORBA::Exception& ex){}
+ catch (const CORBA::Exception&){}
}
}
diff --git a/TAO/performance-tests/Sequence_Latency/Thread_Pool/Worker_Thread.cpp b/TAO/performance-tests/Sequence_Latency/Thread_Pool/Worker_Thread.cpp
index ee64274b86d..598128ad43a 100644
--- a/TAO/performance-tests/Sequence_Latency/Thread_Pool/Worker_Thread.cpp
+++ b/TAO/performance-tests/Sequence_Latency/Thread_Pool/Worker_Thread.cpp
@@ -17,6 +17,6 @@ Worker_Thread::svc (void)
{
this->orb_->run ();
}
- catch (const CORBA::Exception& ex){}
+ catch (const CORBA::Exception&){}
return 0;
}
diff --git a/TAO/performance-tests/Throughput/Receiver.cpp b/TAO/performance-tests/Throughput/Receiver.cpp
index 499be6e61a1..71850aaee22 100644
--- a/TAO/performance-tests/Throughput/Receiver.cpp
+++ b/TAO/performance-tests/Throughput/Receiver.cpp
@@ -91,5 +91,5 @@ Receiver::done (void)
poa->servant_to_id (this);
poa->deactivate_object (oid.in ());
}
- catch (const CORBA::Exception& ex){}
+ catch (const CORBA::Exception&){}
}
diff --git a/TAO/tao/Transport.cpp b/TAO/tao/Transport.cpp
index 755880a3d26..1dae3390d40 100644
--- a/TAO/tao/Transport.cpp
+++ b/TAO/tao/Transport.cpp
@@ -1251,6 +1251,8 @@ TAO_Transport::send_message_shared_i (TAO_Stub *stub,
// "Count" the message, only if no error was encountered.
if (ret != -1 && this->stats_ != 0)
this->stats_->messages_sent (message_length);
+#else
+ ACE_UNUSED_ARG (message_length);
#endif /* TAO_HAS_TRANSPORT_CURRENT == 1 */
return ret;
diff --git a/TAO/tests/AMI_Buffering/AMI_Buffering.cpp b/TAO/tests/AMI_Buffering/AMI_Buffering.cpp
index 7f4cfd6be39..a85b561d23e 100644
--- a/TAO/tests/AMI_Buffering/AMI_Buffering.cpp
+++ b/TAO/tests/AMI_Buffering/AMI_Buffering.cpp
@@ -37,7 +37,7 @@ AMI_Buffering::receive_data (const Test::Payload &the_payload)
AMI_Buffering::Nest_Guard ng(*this);
this->admin_->request_received (the_payload.length ());
}
- catch (const CORBA::Exception& ex)
+ catch (const CORBA::Exception&)
{
ACE_DEBUG ((LM_DEBUG,"(%P|%t) DEBUG: AMI_Buffering::receive_data"));
}
diff --git a/TAO/tests/AMI_Timeouts/timeout_client.cpp b/TAO/tests/AMI_Timeouts/timeout_client.cpp
index 864ac112f9f..7e748014887 100644
--- a/TAO/tests/AMI_Timeouts/timeout_client.cpp
+++ b/TAO/tests/AMI_Timeouts/timeout_client.cpp
@@ -181,7 +181,7 @@ TimeoutClient::send (CORBA::Boolean async,
policy_list[0]->destroy ();
}
}
- catch (const CORBA::Exception& ex)
+ catch (const CORBA::Exception&)
{
ACE_DEBUG ((LM_DEBUG,
"Error: Unexpected exception\n\n"));
diff --git a/TAO/tests/Big_Oneways/Session.cpp b/TAO/tests/Big_Oneways/Session.cpp
index 752850ac50d..dd7003cb964 100644
--- a/TAO/tests/Big_Oneways/Session.cpp
+++ b/TAO/tests/Big_Oneways/Session.cpp
@@ -105,7 +105,7 @@ Session::validate_connections (void)
{
this->other_sessions_[j]->ping ();
}
- catch (const CORBA::Exception& ex)
+ catch (const CORBA::Exception&)
{
}
}
diff --git a/TAO/tests/Bug_1269_Regression/Server_Timer.cpp b/TAO/tests/Bug_1269_Regression/Server_Timer.cpp
index fa92c34a00b..f099a972b94 100644
--- a/TAO/tests/Bug_1269_Regression/Server_Timer.cpp
+++ b/TAO/tests/Bug_1269_Regression/Server_Timer.cpp
@@ -47,7 +47,7 @@ Server_Timer::handle_timeout (ACE_Time_Value const &, void const *)
ACE_Time_Value tv (0, 20000);
this->reactor()->schedule_timer (this, 0, tv);
}
- catch (const CORBA::Exception& ex)
+ catch (const CORBA::Exception&)
{
this->echo_ = Test::Echo::_nil ();
diff --git a/TAO/tests/Bug_1361_Regression/Server_Thread_Pool.cpp b/TAO/tests/Bug_1361_Regression/Server_Thread_Pool.cpp
index 9768757c1a4..7c497e26d5a 100644
--- a/TAO/tests/Bug_1361_Regression/Server_Thread_Pool.cpp
+++ b/TAO/tests/Bug_1361_Regression/Server_Thread_Pool.cpp
@@ -158,7 +158,7 @@ Thread_Pool::svc (void)
}
}
}
- catch (const CORBA::Exception& ex)
+ catch (const CORBA::Exception&)
{
// Just forget the exception and continue
}
diff --git a/TAO/tests/Bug_1495_Regression/Threaded_Client.cpp b/TAO/tests/Bug_1495_Regression/Threaded_Client.cpp
index 43f8c647866..6b4d6417695 100644
--- a/TAO/tests/Bug_1495_Regression/Threaded_Client.cpp
+++ b/TAO/tests/Bug_1495_Regression/Threaded_Client.cpp
@@ -112,7 +112,7 @@ main (int argc, char *argv[])
corb->destroy ();
}
- catch (const CORBA::Exception& ex)
+ catch (const CORBA::Exception&)
{
// ignore exceptions
}
diff --git a/TAO/tests/Bug_1535_Regression/bug_1535_regression.cpp b/TAO/tests/Bug_1535_Regression/bug_1535_regression.cpp
index b2e9b1657b3..07f4d5a4038 100644
--- a/TAO/tests/Bug_1535_Regression/bug_1535_regression.cpp
+++ b/TAO/tests/Bug_1535_Regression/bug_1535_regression.cpp
@@ -168,7 +168,7 @@ test_no_implicit_activation (
// an issue 10522 about this
succeed = true;
}
- catch (const CORBA::Exception& ex)
+ catch (const CORBA::Exception&)
{
}
diff --git a/TAO/tests/COIOP/COIOP_Test.cpp b/TAO/tests/COIOP/COIOP_Test.cpp
index f994d2d27e3..9c9413a1b62 100644
--- a/TAO/tests/COIOP/COIOP_Test.cpp
+++ b/TAO/tests/COIOP/COIOP_Test.cpp
@@ -102,7 +102,7 @@ main (int argc, char *argv[])
corb->destroy ();
}
}
- catch (const CORBA::Exception& ex)
+ catch (const CORBA::Exception&)
{
// Ignore exceptions..
}
diff --git a/TAO/tests/CSD_Strategy_Tests/TP_Common/AppHelper.cpp b/TAO/tests/CSD_Strategy_Tests/TP_Common/AppHelper.cpp
index b3da6e294cc..8ad2666efe5 100644
--- a/TAO/tests/CSD_Strategy_Tests/TP_Common/AppHelper.cpp
+++ b/TAO/tests/CSD_Strategy_Tests/TP_Common/AppHelper.cpp
@@ -81,7 +81,7 @@ AppHelper::validate_connection (CORBA::Object_ptr obj)
#endif /* TAO_HAS_MESSAGING == 1 */
return true;
}
- catch (const CORBA::Exception& ex)
+ catch (const CORBA::Exception&)
{
}
}
diff --git a/TAO/tests/CSD_Strategy_Tests/TP_Foo_C/Foo_C_Custom_ClientEngine.cpp b/TAO/tests/CSD_Strategy_Tests/TP_Foo_C/Foo_C_Custom_ClientEngine.cpp
index 4fddb7213bf..260bf44b3e9 100644
--- a/TAO/tests/CSD_Strategy_Tests/TP_Foo_C/Foo_C_Custom_ClientEngine.cpp
+++ b/TAO/tests/CSD_Strategy_Tests/TP_Foo_C/Foo_C_Custom_ClientEngine.cpp
@@ -88,7 +88,7 @@ Foo_C_Custom_ClientEngine::execute(void)
{
this->proxy_.cust_op5();
}
- catch (const CORBA::Exception& ex)//(CustomException, ex)
+ catch (const CORBA::Exception&)//(CustomException, ex)
{
// Expected
caught_exception = true;
diff --git a/TAO/tests/Client_Leaks/Process_Factory.cpp b/TAO/tests/Client_Leaks/Process_Factory.cpp
index 017f40d6297..e4ab9cf4544 100644
--- a/TAO/tests/Client_Leaks/Process_Factory.cpp
+++ b/TAO/tests/Client_Leaks/Process_Factory.cpp
@@ -79,7 +79,7 @@ Process_Factory::create_new_process (void)
poa->servant_to_id (startup_callback_impl);
poa->deactivate_object (id.in ());
}
- catch (const CORBA::Exception& ex)
+ catch (const CORBA::Exception&)
{
}
diff --git a/TAO/tests/Client_Leaks/child.cpp b/TAO/tests/Client_Leaks/child.cpp
index 4b8425315a0..ac9d588886b 100644
--- a/TAO/tests/Client_Leaks/child.cpp
+++ b/TAO/tests/Client_Leaks/child.cpp
@@ -69,7 +69,7 @@ main (int argc, char *argv[])
orb->destroy ();
}
- catch (const CORBA::Exception& ex)
+ catch (const CORBA::Exception&)
{
// Do not print error messages, they only make the test output
// confusing.
diff --git a/TAO/tests/Collocation_Opportunities/Collocation_Opportunities.cpp b/TAO/tests/Collocation_Opportunities/Collocation_Opportunities.cpp
index f18b2f4792a..94fcf1589b7 100644
--- a/TAO/tests/Collocation_Opportunities/Collocation_Opportunities.cpp
+++ b/TAO/tests/Collocation_Opportunities/Collocation_Opportunities.cpp
@@ -118,7 +118,7 @@ Task::svc (void)
{
this->orb_->run ();
}
- catch (const CORBA::Exception& ex)
+ catch (const CORBA::Exception&)
{
}
diff --git a/TAO/tests/Crashed_Callback/Service.cpp b/TAO/tests/Crashed_Callback/Service.cpp
index 657303fd856..d6a33d93d7a 100644
--- a/TAO/tests/Crashed_Callback/Service.cpp
+++ b/TAO/tests/Crashed_Callback/Service.cpp
@@ -36,7 +36,7 @@ Service::run_test (Test::Crashed_Callback_ptr callback)
"(%P|%t) - Service, calling crash_now_please\n"));
callback->crash_now_please ();
}
- catch (const CORBA::Exception& ex){}
+ catch (const CORBA::Exception&){}
int pos_crash_exceptions =
this->call_test_oneway (callback);
@@ -77,7 +77,7 @@ Service::call_are_you_there (Test::Crashed_Callback_ptr callback)
{
(void) callback->are_you_there ();
}
- catch (const CORBA::Exception& ex)
+ catch (const CORBA::Exception&)
{
exception_count++;
}
@@ -99,7 +99,7 @@ Service::call_test_oneway (Test::Crashed_Callback_ptr callback)
{
(void) callback->test_oneway ();
}
- catch (const CORBA::Exception& ex)
+ catch (const CORBA::Exception&)
{
exception_count++;
}
diff --git a/TAO/tests/Faults/pong.cpp b/TAO/tests/Faults/pong.cpp
index 72c11191fd6..da2e90bc26f 100644
--- a/TAO/tests/Faults/pong.cpp
+++ b/TAO/tests/Faults/pong.cpp
@@ -84,14 +84,14 @@ run_client (CORBA::ORB_ptr orb,
server->shutdown ();
}
}
- catch (const CORBA::TRANSIENT& t)
+ catch (const CORBA::TRANSIENT&)
{
if (TAO_debug_level > 0)
ACE_DEBUG ((LM_DEBUG, "Ignoring transient exception\n"));
// ACE_PRINT_EXCEPTION (t, reason);
ACE_OS::sleep (tv);
}
- catch (const CORBA::COMM_FAILURE& f)
+ catch (const CORBA::COMM_FAILURE&)
{
ACE_DEBUG ((LM_DEBUG, "Ignoring comm failure exception\n"));
// ACE_PRINT_EXCEPTION (f, reason);
diff --git a/TAO/tests/LongUpcalls/AMI_Manager.cpp b/TAO/tests/LongUpcalls/AMI_Manager.cpp
index d3cc973272b..8d21bac2f63 100644
--- a/TAO/tests/LongUpcalls/AMI_Manager.cpp
+++ b/TAO/tests/LongUpcalls/AMI_Manager.cpp
@@ -22,7 +22,7 @@ validate_connection (Test::Controller_ptr controller)
controller->_is_a ("Not_an_IDL_Type");
#endif
}
- catch (const CORBA::Exception& ex)
+ catch (const CORBA::Exception&)
{
}
}
diff --git a/TAO/tests/LongUpcalls/Manager.cpp b/TAO/tests/LongUpcalls/Manager.cpp
index 8d2f8d8442a..429713aa205 100644
--- a/TAO/tests/LongUpcalls/Manager.cpp
+++ b/TAO/tests/LongUpcalls/Manager.cpp
@@ -22,7 +22,7 @@ validate_connection (Test::Controller_ptr controller)
controller->_is_a ("Not_an_IDL_Type");
#endif
}
- catch (const CORBA::Exception& ex)
+ catch (const CORBA::Exception&)
{
}
}
diff --git a/TAO/tests/Nested_Upcall_Crash/Server_Peer.cpp b/TAO/tests/Nested_Upcall_Crash/Server_Peer.cpp
index 8e45bd30f9f..36c6ad2d83b 100644
--- a/TAO/tests/Nested_Upcall_Crash/Server_Peer.cpp
+++ b/TAO/tests/Nested_Upcall_Crash/Server_Peer.cpp
@@ -41,7 +41,7 @@ Server_Peer::callme(Test::Peer_ptr callback,
{
callback->crash();
}
- catch (const CORBA::Exception& ex)
+ catch (const CORBA::Exception&)
{
}
diff --git a/TAO/tests/Object_Loader/Loader.cpp b/TAO/tests/Object_Loader/Loader.cpp
index ac699174f43..953d57e77f3 100644
--- a/TAO/tests/Object_Loader/Loader.cpp
+++ b/TAO/tests/Object_Loader/Loader.cpp
@@ -37,7 +37,7 @@ Loader::create_object (CORBA::ORB_ptr orb,
return obj._retn ();
}
- catch (const CORBA::Exception& ex)
+ catch (const CORBA::Exception&)
{
}
return CORBA::Object::_nil ();
diff --git a/TAO/tests/POA/Default_Servant/Default_Servant.cpp b/TAO/tests/POA/Default_Servant/Default_Servant.cpp
index 81ae916d22b..73fdfe91d84 100644
--- a/TAO/tests/POA/Default_Servant/Default_Servant.cpp
+++ b/TAO/tests/POA/Default_Servant/Default_Servant.cpp
@@ -42,7 +42,7 @@ test_get_servant_manager (PortableServer::POA_ptr poa)
{
succeed = true;
}
- catch (const CORBA::Exception& ex)
+ catch (const CORBA::Exception&)
{
}
@@ -67,7 +67,7 @@ test_set_servant_manager (PortableServer::POA_ptr poa)
{
succeed = true;
}
- catch (const CORBA::Exception& ex)
+ catch (const CORBA::Exception&)
{
}
@@ -95,7 +95,7 @@ test_get_servant_with_no_set (PortableServer::POA_ptr poa)
{
succeed = true;
}
- catch (const CORBA::Exception& ex)
+ catch (const CORBA::Exception&)
{
}
diff --git a/TAO/tests/POA/MT_Servant_Locator/MT_Servant_Locator.cpp b/TAO/tests/POA/MT_Servant_Locator/MT_Servant_Locator.cpp
index 0b21b5fbcd3..1962a84a629 100644
--- a/TAO/tests/POA/MT_Servant_Locator/MT_Servant_Locator.cpp
+++ b/TAO/tests/POA/MT_Servant_Locator/MT_Servant_Locator.cpp
@@ -190,7 +190,7 @@ set_nil_servant_manager (PortableServer::POA_ptr poa)
succeed = true;
}
}
- catch (const CORBA::Exception& ex)
+ catch (const CORBA::Exception&)
{
}
@@ -222,7 +222,7 @@ overwrite_servant_manager (PortableServer::POA_ptr poa)
succeed = true;
}
}
- catch (const CORBA::Exception& ex)
+ catch (const CORBA::Exception&)
{
}
diff --git a/TAO/tests/Param_Test/any.cpp b/TAO/tests/Param_Test/any.cpp
index 76c0b538fe6..f8e6044ab84 100644
--- a/TAO/tests/Param_Test/any.cpp
+++ b/TAO/tests/Param_Test/any.cpp
@@ -273,7 +273,7 @@ Test_Any::run_sii_test (Param_Test_ptr objref)
this->inout_,
this->out_.out ());
}
- catch (const CORBA::Exception& ex)
+ catch (const CORBA::Exception&)
{
return -1;
}
diff --git a/TAO/tests/Param_Test/big_union.cpp b/TAO/tests/Param_Test/big_union.cpp
index 42e21a19170..d1f01d63033 100644
--- a/TAO/tests/Param_Test/big_union.cpp
+++ b/TAO/tests/Param_Test/big_union.cpp
@@ -307,7 +307,7 @@ Test_Big_Union::check_validity (void)
ret_desc->name.in ()))
return 0;
}
- catch (const CORBA::Exception& ex)
+ catch (const CORBA::Exception&)
{
return 0;
}
diff --git a/TAO/tests/Param_Test/complex_any.cpp b/TAO/tests/Param_Test/complex_any.cpp
index fead61f2821..efabe515361 100644
--- a/TAO/tests/Param_Test/complex_any.cpp
+++ b/TAO/tests/Param_Test/complex_any.cpp
@@ -172,7 +172,7 @@ Test_Complex_Any::run_sii_test (Param_Test_ptr objref)
this->inout_,
this->out_.out ());
}
- catch (const CORBA::Exception& ex)
+ catch (const CORBA::Exception&)
{
return -1;
}
diff --git a/TAO/tests/Param_Test/except.cpp b/TAO/tests/Param_Test/except.cpp
index b7ab7c154ce..6e349cd191e 100644
--- a/TAO/tests/Param_Test/except.cpp
+++ b/TAO/tests/Param_Test/except.cpp
@@ -128,7 +128,7 @@ Test_Exception::dii_req_invoke (CORBA::Request_ptr req)
}
// Catch the SystemException type CORBA::NO_MEMORY thrown by the
// server to test the system exception.
- catch (const CORBA::NO_MEMORY& ex)
+ catch (const CORBA::NO_MEMORY&)
{
// 'NO_MEMORY' system exception should be caught here. This
// happens when the IN arg == 2.
@@ -180,7 +180,7 @@ Test_Exception::dii_req_invoke (CORBA::Request_ptr req)
}
}
}
- catch (const CORBA::UNKNOWN& ex)
+ catch (const CORBA::UNKNOWN&)
{
// 'BadBoy' should be caught here. This happens when the IN arg == 3.
// Otherwise we don't set the other arg values so the validity
diff --git a/TAO/tests/Policies/Manipulation.cpp b/TAO/tests/Policies/Manipulation.cpp
index b5fb71ef296..2154ce2ba29 100644
--- a/TAO/tests/Policies/Manipulation.cpp
+++ b/TAO/tests/Policies/Manipulation.cpp
@@ -268,7 +268,7 @@ Manipulation::perform_iteration (ACE_RANDR_TYPE &seed,
}
}
}
- catch (const CORBA::Exception& ex)
+ catch (const CORBA::Exception&)
{
// Ignore all exceptions
}
diff --git a/TAO/tests/RTScheduling/Scheduler.cpp b/TAO/tests/RTScheduling/Scheduler.cpp
index 944c91a088c..b6bf436b6fd 100644
--- a/TAO/tests/RTScheduling/Scheduler.cpp
+++ b/TAO/tests/RTScheduling/Scheduler.cpp
@@ -156,7 +156,7 @@ TAO_Scheduler::receive_request (PortableInterceptor::ServerRequestInfo_ptr reque
guid_out.ptr () = guid;
}
- catch (const CORBA::Exception& ex)
+ catch (const CORBA::Exception&)
{
ACE_DEBUG ((LM_DEBUG,
"Invalid Service Context\n"));
diff --git a/TAO/tests/TransportCurrent/IIOP/IIOP_Server_Request_Interceptor.cpp b/TAO/tests/TransportCurrent/IIOP/IIOP_Server_Request_Interceptor.cpp
index 5356b1fd360..27819ca3900 100644
--- a/TAO/tests/TransportCurrent/IIOP/IIOP_Server_Request_Interceptor.cpp
+++ b/TAO/tests/TransportCurrent/IIOP/IIOP_Server_Request_Interceptor.cpp
@@ -193,7 +193,7 @@ namespace Test {
this->push_request_info (requestID);
}
- catch (const CORBA::Exception& ex)
+ catch (const CORBA::Exception&)
{
ACE_DEBUG ((LM_DEBUG,
ACE_TEXT ("%s (%P|%t) Service context")
@@ -235,7 +235,7 @@ namespace Test {
{
inbound_process_context (ri);
}
- catch (const CORBA::Exception& ex)
+ catch (const CORBA::Exception&)
{
CORBA::String_var name (this->name ());
ACE_ERROR ((LM_ERROR,
@@ -258,7 +258,7 @@ namespace Test {
outbound_process_context (ri);
}
- catch (const CORBA::Exception& ex)
+ catch (const CORBA::Exception&)
{
CORBA::String_var name (this->name ());
ACE_ERROR ((LM_ERROR,
@@ -282,7 +282,7 @@ namespace Test {
}
- catch (const CORBA::Exception& ex)
+ catch (const CORBA::Exception&)
{
CORBA::String_var name (this->name ());
ACE_ERROR ((LM_ERROR,
@@ -304,7 +304,7 @@ namespace Test {
{
outbound_process_context (ri);
}
- catch (const CORBA::Exception& ex)
+ catch (const CORBA::Exception&)
{
CORBA::String_var name (this->name ());
ACE_ERROR ((LM_ERROR,
diff --git a/TAO/utils/catior/catior.cpp b/TAO/utils/catior/catior.cpp
index 207d75bfb7d..da693a78d17 100644
--- a/TAO/utils/catior/catior.cpp
+++ b/TAO/utils/catior/catior.cpp
@@ -538,7 +538,7 @@ ACE_TMAIN (int argcw, ACE_TCHAR *argvw[])
reason),
-1);
}
- catch (const CosNaming::NamingContext::InvalidName& in)
+ catch (const CosNaming::NamingContext::InvalidName&)
{
ACE_ERROR_RETURN ((LM_ERROR,
"%s cannot be resolved, exception reason = "
@@ -547,7 +547,7 @@ ACE_TMAIN (int argcw, ACE_TCHAR *argvw[])
get_opt.opt_arg ()),
-1);
}
- catch (const CosNaming::NamingContext::CannotProceed& cp)
+ catch (const CosNaming::NamingContext::CannotProceed&)
{
ACE_ERROR_RETURN ((LM_ERROR,
"%s cannot be resolved, exception reason = "
@@ -556,7 +556,7 @@ ACE_TMAIN (int argcw, ACE_TCHAR *argvw[])
get_opt.opt_arg ()),
-1);
}
- catch (const CORBA::Exception& ex)
+ catch (const CORBA::Exception&)
{
ACE_ERROR_RETURN ((LM_ERROR,
"%s cannot be resolved, exception reason = "
@@ -620,7 +620,7 @@ ACE_TMAIN (int argcw, ACE_TCHAR *argvw[])
delete [] str;
}
- catch (const CORBA::Exception& ex)
+ catch (const CORBA::Exception&)
{
ACE_ERROR_RETURN ((LM_ERROR,
"%s cannot be resolved, exception reason = "