diff options
author | parsons <parsons@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1999-02-13 02:52:02 +0000 |
---|---|---|
committer | parsons <parsons@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1999-02-13 02:52:02 +0000 |
commit | 2cbfcede9fe16a7cb23e3f9768b86e9f0eeee6d5 (patch) | |
tree | 798b352b16c305e86981bdd975e35c166124c798 | |
parent | 65ed177471ad77eef4e91ba6233a8dab8204c985 (diff) | |
download | ATCD-2cbfcede9fe16a7cb23e3f9768b86e9f0eeee6d5.tar.gz |
*** empty log message ***
57 files changed, 244 insertions, 228 deletions
diff --git a/TAO/examples/Callback_Quoter/Consumer_Signal_Handler.cpp b/TAO/examples/Callback_Quoter/Consumer_Signal_Handler.cpp index 432184b068f..394695123ad 100644 --- a/TAO/examples/Callback_Quoter/Consumer_Signal_Handler.cpp +++ b/TAO/examples/Callback_Quoter/Consumer_Signal_Handler.cpp @@ -31,7 +31,7 @@ Consumer_Signal_Handler:: ~Consumer_Signal_Handler (void) // Method to handle the ^C signal. int -Consumer_Signal_Handler::handle_signal (int signum, +Consumer_Signal_Handler::handle_signal (int /* signum */, siginfo_t*, ucontext_t*) { diff --git a/TAO/examples/Callback_Quoter/Consumer_i.cpp b/TAO/examples/Callback_Quoter/Consumer_i.cpp index 37b34a01721..42a4d24943b 100644 --- a/TAO/examples/Callback_Quoter/Consumer_i.cpp +++ b/TAO/examples/Callback_Quoter/Consumer_i.cpp @@ -29,14 +29,14 @@ Consumer_i::~Consumer_i (void) void Consumer_i::push (const Callback_Quoter::Info &data, - CORBA::Environment &ACE_TRY_ENV) + CORBA::Environment &) { // On getting the needed information you now proceed to the next // step, which could be obtaining the shares. ACE_DEBUG ((LM_DEBUG, "Selling 10,000 %s shares at %d!!\n", - data.stock_name.in (), + data.stock_name.in (), data.value)); } diff --git a/TAO/examples/Callback_Quoter/Notifier_i.cpp b/TAO/examples/Callback_Quoter/Notifier_i.cpp index 3e098e6ddfe..5d24dcc77e7 100644 --- a/TAO/examples/Callback_Quoter/Notifier_i.cpp +++ b/TAO/examples/Callback_Quoter/Notifier_i.cpp @@ -163,7 +163,7 @@ Notifier_i::unregister_callback (Callback_Quoter::Consumer_ptr consumer, void Notifier_i::market_status (const char *stock_name, CORBA::Long stock_value, - CORBA::Environment &ACE_TRY_ENV) + CORBA::Environment &) { ACE_DEBUG ((LM_DEBUG, "Notifier_i:: The stockname is %s with price %d\n", @@ -217,7 +217,7 @@ Notifier_i::market_status (const char *stock_name, } void -Notifier_i::shutdown (CORBA::Environment &ACE_TRY_ENV) +Notifier_i::shutdown (CORBA::Environment &) { if ( this->consumer_map_.close () > 0) ACE_ERROR ((LM_ERROR, diff --git a/TAO/examples/Callback_Quoter/Supplier_Timer_Handler.cpp b/TAO/examples/Callback_Quoter/Supplier_Timer_Handler.cpp index d86e7b5c4d1..bd4df9d7029 100644 --- a/TAO/examples/Callback_Quoter/Supplier_Timer_Handler.cpp +++ b/TAO/examples/Callback_Quoter/Supplier_Timer_Handler.cpp @@ -47,8 +47,8 @@ Supplier_Timer_Handler:: Supplier_Timer_Handler (Supplier *supplier, // Method which will be called by the reactor on timeout. int -Supplier_Timer_Handler:: handle_timeout (const ACE_Time_Value &tv, - const void *arg) +Supplier_Timer_Handler:: handle_timeout (const ACE_Time_Value & /* tv */, + const void * /* arg */) { ACE_DEBUG ((LM_DEBUG, diff --git a/TAO/examples/POA/Forwarding/Servant_Locator.cpp b/TAO/examples/POA/Forwarding/Servant_Locator.cpp index 74db96f4f2f..ea6177c9076 100644 --- a/TAO/examples/POA/Forwarding/Servant_Locator.cpp +++ b/TAO/examples/POA/Forwarding/Servant_Locator.cpp @@ -41,9 +41,9 @@ MyFooServantLocator::~MyFooServantLocator () PortableServer::Servant MyFooServantLocator::preinvoke (const PortableServer::ObjectId &oid, - PortableServer::POA_ptr poa_ptr, + PortableServer::POA_ptr /* poa_ptr */, const char *operation, - PortableServer::ServantLocator::Cookie &cookie, + PortableServer::ServantLocator::Cookie & /* cookie */, CORBA::Environment &env) { ACE_UNUSED_ARG (operation); @@ -110,7 +110,7 @@ MyFooServantLocator::postinvoke (const PortableServer::ObjectId &oid, } void -MyFooServantLocator::forward (CORBA::Environment &env) +MyFooServantLocator::forward (CORBA::Environment &) { this->forwarding_ = 1; } diff --git a/TAO/examples/POA/Generic_Servant/MyFooServant.cpp b/TAO/examples/POA/Generic_Servant/MyFooServant.cpp index 7b29952835a..d236da4f6f6 100644 --- a/TAO/examples/POA/Generic_Servant/MyFooServant.cpp +++ b/TAO/examples/POA/Generic_Servant/MyFooServant.cpp @@ -53,7 +53,7 @@ MyFooServant::simply_doit (CORBA::Environment &/*env*/) } void -MyFooServant::shutdown (CORBA::Environment &env) +MyFooServant::shutdown (CORBA::Environment &) { this->orb_->shutdown (); } @@ -117,8 +117,8 @@ extern "C" GENERIC_SERVANT_Export void destroy_servant (const PortableServer::Ob // This function will take care of the destruction of the servant. void -destroy_servant (const PortableServer::ObjectId &oid, - PortableServer::POA_ptr poa, +destroy_servant (const PortableServer::ObjectId & /* oid */, + PortableServer::POA_ptr /* poa */, PortableServer::Servant servant) { delete servant; diff --git a/TAO/examples/Simple/bank/Account_i.cpp b/TAO/examples/Simple/bank/Account_i.cpp index ab344998361..d8360e59393 100644 --- a/TAO/examples/Simple/bank/Account_i.cpp +++ b/TAO/examples/Simple/bank/Account_i.cpp @@ -44,7 +44,7 @@ Account_i::balance (CORBA::Environment &) void Account_i::deposit (CORBA::Float deposit, - CORBA::Environment &env) + CORBA::Environment &) { balance_ += deposit; } @@ -60,14 +60,14 @@ Account_i::withdraw (CORBA::Float withdrawl, } char * -Account_i::name (CORBA::Environment &env) +Account_i::name (CORBA::Environment &) { return CORBA::string_dup (name_); } void Account_i::name (const char *name, - CORBA::Environment &env) + CORBA::Environment &) { name_ = CORBA::string_dup (name); } diff --git a/TAO/examples/Simple/bank/Client_i.cpp b/TAO/examples/Simple/bank/Client_i.cpp index d63c81dcb37..6a3a3a80406 100644 --- a/TAO/examples/Simple/bank/Client_i.cpp +++ b/TAO/examples/Simple/bank/Client_i.cpp @@ -114,7 +114,7 @@ Client_i::parse_args (void) void Client_i::deposit (Bank::Account_ptr server, CORBA::Float deposit_amount, - CORBA::Environment &env) + CORBA::Environment &) { server->deposit (deposit_amount, this->env_); @@ -166,7 +166,7 @@ Client_i::close (Bank::Account_ptr account, // the same IOR. void -Client_i::test_for_same_name (CORBA::Environment &env) +Client_i::test_for_same_name (CORBA::Environment &) { this->server1_ = this->open (this->account_holder_name1_, this->initial_balance_, @@ -185,7 +185,7 @@ Client_i::test_for_same_name (CORBA::Environment &env) // This method tests if opening an account with different names // returns a different IOR. void -Client_i::test_for_different_name (CORBA::Environment &env) +Client_i::test_for_different_name (CORBA::Environment &) { this->server1_ = this->open (this->account_holder_name1_, this->initial_balance_, @@ -205,7 +205,7 @@ Client_i::test_for_different_name (CORBA::Environment &env) // This method tests the Overdraft exception. void -Client_i::test_for_overdraft (CORBA::Environment &env) +Client_i::test_for_overdraft (CORBA::Environment &) { this->server1_ = this->open (this->account_holder_name1_, this->initial_balance_, diff --git a/TAO/examples/Simple/bank/Server_i.cpp b/TAO/examples/Simple/bank/Server_i.cpp index 6c95bd2c0e4..8c09fe89b31 100644 --- a/TAO/examples/Simple/bank/Server_i.cpp +++ b/TAO/examples/Simple/bank/Server_i.cpp @@ -62,7 +62,7 @@ Server_i::parse_args (void) // Initialisation of Naming Service and registering the AccountManager Object int -Server_i::init_naming_service (CORBA::Environment& env) +Server_i::init_naming_service (CORBA::Environment &) { TAO_TRY { diff --git a/TAO/examples/Simple/chat/Broadcaster_i.cpp b/TAO/examples/Simple/chat/Broadcaster_i.cpp index dbf0f1698ac..3a9480da0ec 100644 --- a/TAO/examples/Simple/chat/Broadcaster_i.cpp +++ b/TAO/examples/Simple/chat/Broadcaster_i.cpp @@ -116,7 +116,7 @@ Broadcaster_i::remove (Receiver_ptr receiver, void Broadcaster_i::say (Receiver_ptr receiver, const char *text, - CORBA::Environment &TAO_TRY_ENV) + CORBA::Environment &T) { TAO_TRY { @@ -152,7 +152,7 @@ Broadcaster_i::say (Receiver_ptr receiver, void Broadcaster_i::broadcast (const char *text, - CORBA::Environment &TAO_TRY_ENV) + CORBA::Environment &) { // Broadcast the message to all registered clients. diff --git a/TAO/examples/Simple/echo/Echo_i.cpp b/TAO/examples/Simple/echo/Echo_i.cpp index 15861be2b1d..7b9cf2e56c3 100644 --- a/TAO/examples/Simple/echo/Echo_i.cpp +++ b/TAO/examples/Simple/echo/Echo_i.cpp @@ -28,7 +28,7 @@ Echo_i::orb (CORBA::ORB_ptr o) Echo::List * Echo_i::echo_list (const char *message, - CORBA::Environment &env) + CORBA::Environment &) { Echo::List *list; diff --git a/TAO/examples/Simple/grid/Grid_i.cpp b/TAO/examples/Simple/grid/Grid_i.cpp index a87ad87225a..d52162cc2a3 100644 --- a/TAO/examples/Simple/grid/Grid_i.cpp +++ b/TAO/examples/Simple/grid/Grid_i.cpp @@ -76,27 +76,27 @@ Grid_i::get (CORBA::Short x, // Access methods. CORBA::Short -Grid_i::width (CORBA::Environment &ACE_TRY_ENV) +Grid_i::width (CORBA::Environment &A) { return this->width_; } CORBA::Short -Grid_i::height (CORBA::Environment &ACE_TRY_ENV) +Grid_i::height (CORBA::Environment &) { return this->height_; } void Grid_i::width (CORBA::Short x, - CORBA::Environment &ACE_TRY_ENV) + CORBA::Environment &) { this->width_ = x; } void Grid_i::height (CORBA::Short y, - CORBA::Environment &ACE_TRY_ENV) + CORBA::Environment &) { this->height_ = y; } @@ -104,7 +104,7 @@ Grid_i::height (CORBA::Short y, // Destroy the grid void -Grid_i::destroy (CORBA::Environment &ACE_TRY_ENV) +Grid_i::destroy (CORBA::Environment &) { // Delete the array. diff --git a/TAO/examples/Simple/time/Time_i.cpp b/TAO/examples/Simple/time/Time_i.cpp index aeda2b34507..ec8c8e0baf0 100644 --- a/TAO/examples/Simple/time/Time_i.cpp +++ b/TAO/examples/Simple/time/Time_i.cpp @@ -11,7 +11,7 @@ Time_i::Time_i (void) } // Copy Constructor -Time_i::Time_i (Time_i &tim) +Time_i::Time_i (Time_i & /* tim */) { // no-op } diff --git a/TAO/orbsvcs/ImplRepo_Service/ImplRepo_i.cpp b/TAO/orbsvcs/ImplRepo_Service/ImplRepo_i.cpp index c4234860205..fa7d151b89a 100644 --- a/TAO/orbsvcs/ImplRepo_Service/ImplRepo_i.cpp +++ b/TAO/orbsvcs/ImplRepo_Service/ImplRepo_i.cpp @@ -715,15 +715,15 @@ IR_Forwarder::IR_Forwarder (CORBA::ORB_ptr orb_ptr, } CORBA::RepositoryId -IR_Forwarder::_primary_interface (const PortableServer::ObjectId &oid, - PortableServer::POA_ptr poa, - CORBA::Environment &env) +IR_Forwarder::_primary_interface (const PortableServer::ObjectId & /* oid */, + PortableServer::POA_ptr /* poa */, + CORBA::Environment &) { return 0; } void -IR_Forwarder::invoke (CORBA::ServerRequest_ptr request, +IR_Forwarder::invoke (CORBA::ServerRequest_ptr /* request */, CORBA::Environment &TAO_IN_ENV) { // Get the POA Current object reference diff --git a/TAO/orbsvcs/LifeCycle_Service/Criteria_Evaluator.h b/TAO/orbsvcs/LifeCycle_Service/Criteria_Evaluator.h index 5289711965d..c8e49e1f434 100644 --- a/TAO/orbsvcs/LifeCycle_Service/Criteria_Evaluator.h +++ b/TAO/orbsvcs/LifeCycle_Service/Criteria_Evaluator.h @@ -33,12 +33,12 @@ public: char * getFilter (CORBA::Environment &_tao_environment); - LifeCycleService::Criteria_Evaluator::SeqNamedValuePair * getLogicalLocation (CORBA::Environment &_tao_environment) + LifeCycleService::Criteria_Evaluator::SeqNamedValuePair * getLogicalLocation (CORBA::Environment &) { return 0; } - char * getPreferences (CORBA::Environment &_tao_environment) + char * getPreferences (CORBA::Environment &) { return 0; } diff --git a/TAO/orbsvcs/LifeCycle_Service/Life_Cycle_Service.cpp b/TAO/orbsvcs/LifeCycle_Service/Life_Cycle_Service.cpp index 639a6705b56..8b4430a5f79 100644 --- a/TAO/orbsvcs/LifeCycle_Service/Life_Cycle_Service.cpp +++ b/TAO/orbsvcs/LifeCycle_Service/Life_Cycle_Service.cpp @@ -142,7 +142,7 @@ Life_Cycle_Service_Server::init (int argc, int -Life_Cycle_Service_Server::run (CORBA::Environment& env) +Life_Cycle_Service_Server::run (CORBA::Environment &) { if (orb_manager_.orb()->run () == -1) ACE_ERROR_RETURN ((LM_ERROR, diff --git a/TAO/orbsvcs/Time_Service/Clerk_i.cpp b/TAO/orbsvcs/Time_Service/Clerk_i.cpp index 49bdc7f6804..6669042b71c 100644 --- a/TAO/orbsvcs/Time_Service/Clerk_i.cpp +++ b/TAO/orbsvcs/Time_Service/Clerk_i.cpp @@ -296,7 +296,7 @@ Clerk_i::next_n_IORs (CosNaming::BindingIterator_var iter, // Initialise the Naming Service. int -Clerk_i::init_naming_service (CORBA::Environment& env) +Clerk_i::init_naming_service (CORBA::Environment &) { TAO_TRY { @@ -466,7 +466,7 @@ Clerk_i::register_clerk (void) int Clerk_i::init (int argc, char *argv[], - CORBA::Environment &env) + CORBA::Environment &) { TAO_TRY { @@ -549,7 +549,7 @@ Clerk_i::init (int argc, } int -Clerk_i::run (CORBA::Environment &env) +Clerk_i::run (CORBA::Environment &) { TAO_TRY { diff --git a/TAO/orbsvcs/Time_Service/IR_Helper.cpp b/TAO/orbsvcs/Time_Service/IR_Helper.cpp index 9a837b6bd1c..337047e66cf 100644 --- a/TAO/orbsvcs/Time_Service/IR_Helper.cpp +++ b/TAO/orbsvcs/Time_Service/IR_Helper.cpp @@ -96,7 +96,7 @@ int IR_Helper::register_server (const char *comm_line, const char *environment, const char *working_dir, - CORBA_Environment &_env) + CORBA_Environment &) { TAO_TRY { @@ -202,7 +202,7 @@ IR_Helper::notify_shutdown (CORBA_Environment &TAO_IN_ENV) void -IR_Helper::change_object (CORBA::Object_ptr obj, CORBA_Environment &_env) +IR_Helper::change_object (CORBA::Object_ptr obj, CORBA_Environment &) { if ( obj && obj->_stubobj () diff --git a/TAO/orbsvcs/Time_Service/Server_i.cpp b/TAO/orbsvcs/Time_Service/Server_i.cpp index 452d39f2d84..220e33563e7 100644 --- a/TAO/orbsvcs/Time_Service/Server_i.cpp +++ b/TAO/orbsvcs/Time_Service/Server_i.cpp @@ -72,7 +72,7 @@ Server_i::parse_args (void) // with it. int -Server_i::init_naming_service (CORBA::Environment& env) +Server_i::init_naming_service (CORBA::Environment &) { TAO_TRY @@ -335,7 +335,7 @@ Server_i::register_server (void) int Server_i::init (int argc, char *argv[], - CORBA::Environment &env) + CORBA::Environment &) { this->argc_ = argc; this->argv_ = argv; @@ -394,7 +394,7 @@ Server_i::init (int argc, // Initialize the IR Helper and run the event loop for ORB. int -Server_i::run (CORBA::Environment &env) +Server_i::run (CORBA::Environment &) { TAO_TRY { diff --git a/TAO/orbsvcs/orbsvcs/AV/AVStreams_i.cpp b/TAO/orbsvcs/orbsvcs/AV/AVStreams_i.cpp index d47d819ff04..3737067379d 100644 --- a/TAO/orbsvcs/orbsvcs/AV/AVStreams_i.cpp +++ b/TAO/orbsvcs/orbsvcs/AV/AVStreams_i.cpp @@ -123,7 +123,7 @@ TAO_Basic_StreamCtrl::set_FPStatus (const AVStreams::flowSpec &the_spec, // @@ Need to throw not-supported exception here CORBA::Object_ptr TAO_Basic_StreamCtrl::get_flow_connection (const char *flow_name, - CORBA::Environment &env) + CORBA::Environment &) { TAO_String_Hash_Key flow_name_key (flow_name); FlowConnection_Map::ENTRY *flow_connection_entry = 0; @@ -457,7 +457,7 @@ CORBA::Boolean TAO_Server_StreamEndPoint::connect (AVStreams::StreamEndPoint_ptr responder, AVStreams::streamQoS &qos_spec, const AVStreams::flowSpec &the_spec, - CORBA::Environment &env) + CORBA::Environment &) { ACE_UNUSED_ARG (responder); ACE_UNUSED_ARG (qos_spec); @@ -476,7 +476,7 @@ TAO_StreamEndPoint::request_connection (AVStreams::StreamEndPoint_ptr initiator, CORBA::Boolean is_mcast, AVStreams::streamQoS &qos, AVStreams::flowSpec &the_spec, - CORBA::Environment &env) + CORBA::Environment &) { ACE_UNUSED_ARG (initiator); ACE_UNUSED_ARG (is_mcast); @@ -545,7 +545,7 @@ TAO_StreamEndPoint::set_FPStatus (const AVStreams::flowSpec &the_spec, CORBA::Object_ptr TAO_StreamEndPoint::get_fep (const char *flow_name, - CORBA::Environment &env) + CORBA::Environment &) { TAO_String_Hash_Key fep_name_key (flow_name); FlowEndPoint_Map::ENTRY *fep_entry = 0; @@ -656,7 +656,7 @@ TAO_StreamEndPoint::set_key (const char *flow_name, // Set the source id. void TAO_StreamEndPoint::set_source_id (CORBA::Long source_id, - CORBA::Environment &env) + CORBA::Environment &) { this->source_id_ = source_id; } diff --git a/TAO/orbsvcs/orbsvcs/AV/Endpoint_Strategy.cpp b/TAO/orbsvcs/orbsvcs/AV/Endpoint_Strategy.cpp index 7de5721a968..654098b048a 100644 --- a/TAO/orbsvcs/orbsvcs/AV/Endpoint_Strategy.cpp +++ b/TAO/orbsvcs/orbsvcs/AV/Endpoint_Strategy.cpp @@ -46,9 +46,9 @@ TAO_AV_Endpoint_Strategy::~TAO_AV_Endpoint_Strategy (void) // subclasses need only define the calls that they want to support, // and the remaining calls will fail automagically int -TAO_AV_Endpoint_Strategy::create_A (AVStreams::StreamEndPoint_A_ptr &stream_endpoint, - AVStreams::VDev_ptr &vdev, - CORBA::Environment &env) +TAO_AV_Endpoint_Strategy::create_A (AVStreams::StreamEndPoint_A_ptr & /* stream_endpoint */, + AVStreams::VDev_ptr & /* vdev */, + CORBA::Environment &) { ACE_ERROR_RETURN ((LM_ERROR, "(%P|%t) Error creating A endpoint\n"), @@ -60,9 +60,9 @@ TAO_AV_Endpoint_Strategy::create_A (AVStreams::StreamEndPoint_A_ptr &stream_endp // subclasses need only define the calls that they want to support, // and the remaining calls will fail automagically int -TAO_AV_Endpoint_Strategy::create_B (AVStreams::StreamEndPoint_B_ptr &stream_endpoint, - AVStreams::VDev_ptr &vdev, - CORBA::Environment &env) +TAO_AV_Endpoint_Strategy::create_B (AVStreams::StreamEndPoint_B_ptr & /* stream_endpoint */, + AVStreams::VDev_ptr & /*vdev */, + CORBA::Environment &) { ACE_ERROR_RETURN ((LM_ERROR, "(%P|%t) Error creating B endpoint\n"), @@ -254,7 +254,7 @@ TAO_AV_Endpoint_Process_Strategy_A::~TAO_AV_Endpoint_Process_Strategy_A (void) int TAO_AV_Endpoint_Process_Strategy_A::create_A (AVStreams::StreamEndPoint_A_ptr &stream_endpoint, AVStreams::VDev_ptr &vdev, - CORBA::Environment &env) + CORBA::Environment &) { // use the baseclass activate if (this->activate () == -1) @@ -327,7 +327,7 @@ TAO_AV_Endpoint_Process_Strategy_B::~TAO_AV_Endpoint_Process_Strategy_B (void) int TAO_AV_Endpoint_Process_Strategy_B::create_B (AVStreams::StreamEndPoint_B_ptr &stream_endpoint, AVStreams::VDev_ptr &vdev, - CORBA::Environment &env) + CORBA::Environment &) { TAO_TRY { diff --git a/TAO/orbsvcs/orbsvcs/Concurrency/CC_Lock.cpp b/TAO/orbsvcs/orbsvcs/Concurrency/CC_Lock.cpp index 76234eed200..0fc157de0a1 100644 --- a/TAO/orbsvcs/orbsvcs/Concurrency/CC_Lock.cpp +++ b/TAO/orbsvcs/orbsvcs/Concurrency/CC_Lock.cpp @@ -39,7 +39,7 @@ CC_Lock::~CC_Lock (void) } void -CC_Lock::lock (CORBA::Environment &TAO_IN_ENV) +CC_Lock::lock (CORBA::Environment &) { ACE_DEBUG ((LM_DEBUG, "CC_Lock::lock\n")); diff --git a/TAO/orbsvcs/orbsvcs/Concurrency/CC_LockSet.cpp b/TAO/orbsvcs/orbsvcs/Concurrency/CC_LockSet.cpp index 204f1562892..eb880306e0c 100644 --- a/TAO/orbsvcs/orbsvcs/Concurrency/CC_LockSet.cpp +++ b/TAO/orbsvcs/orbsvcs/Concurrency/CC_LockSet.cpp @@ -111,7 +111,7 @@ CC_LockSet::lock (CosConcurrencyControl::lock_mode mode, CORBA::Boolean CC_LockSet::try_lock (CosConcurrencyControl::lock_mode mode, - CORBA::Environment &TAO_IN_ENV) + CORBA::Environment &) { CC_LockModeEnum lm = lmconvert (mode); diff --git a/TAO/orbsvcs/orbsvcs/CosEvent/ConsumerAdmin_i.cpp b/TAO/orbsvcs/orbsvcs/CosEvent/ConsumerAdmin_i.cpp index b7cadbdf951..5d12d65ab08 100644 --- a/TAO/orbsvcs/orbsvcs/CosEvent/ConsumerAdmin_i.cpp +++ b/TAO/orbsvcs/orbsvcs/CosEvent/ConsumerAdmin_i.cpp @@ -42,7 +42,7 @@ TAO_CosEC_ConsumerAdmin_i::obtain_push_supplier (CORBA::Environment &TAO_IN_ENV) } CosEventChannelAdmin::ProxyPullSupplier_ptr -TAO_CosEC_ConsumerAdmin_i::obtain_pull_supplier (CORBA::Environment &TAO_IN_ENV) +TAO_CosEC_ConsumerAdmin_i::obtain_pull_supplier (CORBA::Environment &) { // TODO: implement this. return CosEventChannelAdmin::ProxyPullSupplier::_nil (); diff --git a/TAO/orbsvcs/orbsvcs/CosEvent/EventChannel_i.cpp b/TAO/orbsvcs/orbsvcs/CosEvent/EventChannel_i.cpp index 8f2835246f1..0c23ad08946 100644 --- a/TAO/orbsvcs/orbsvcs/CosEvent/EventChannel_i.cpp +++ b/TAO/orbsvcs/orbsvcs/CosEvent/EventChannel_i.cpp @@ -47,7 +47,7 @@ TAO_CosEC_EventChannel_i::init (const RtecEventChannelAdmin::ConsumerQOS &consum } CosEventChannelAdmin::ConsumerAdmin_ptr -TAO_CosEC_EventChannel_i::for_consumers (CORBA::Environment &TAO_IN_ENV) +TAO_CosEC_EventChannel_i::for_consumers (CORBA::Environment &) { // @@ Pradeep: you must make a copy here, because the caller is // responsible of removing this object. @@ -56,7 +56,7 @@ TAO_CosEC_EventChannel_i::for_consumers (CORBA::Environment &TAO_IN_ENV) } CosEventChannelAdmin::SupplierAdmin_ptr -TAO_CosEC_EventChannel_i::for_suppliers (CORBA::Environment &TAO_IN_ENV) +TAO_CosEC_EventChannel_i::for_suppliers (CORBA::Environment &) { // @@ Pradeep: you must make a copy here, because the caller is // responsible of removing this object, same here.. diff --git a/TAO/orbsvcs/orbsvcs/CosEvent/SupplierAdmin_i.cpp b/TAO/orbsvcs/orbsvcs/CosEvent/SupplierAdmin_i.cpp index 1a9e6523ceb..7a3faa191f8 100644 --- a/TAO/orbsvcs/orbsvcs/CosEvent/SupplierAdmin_i.cpp +++ b/TAO/orbsvcs/orbsvcs/CosEvent/SupplierAdmin_i.cpp @@ -41,7 +41,7 @@ TAO_CosEC_SupplierAdmin_i::obtain_push_consumer (CORBA::Environment &TAO_IN_ENV) } CosEventChannelAdmin::ProxyPullConsumer_ptr -TAO_CosEC_SupplierAdmin_i::obtain_pull_consumer (CORBA::Environment &TAO_IN_ENV) +TAO_CosEC_SupplierAdmin_i::obtain_pull_consumer (CORBA::Environment &) { // TODO: implement this. return CosEventChannelAdmin::ProxyPullConsumer::_nil (); diff --git a/TAO/orbsvcs/orbsvcs/Event/Event_Channel.cpp b/TAO/orbsvcs/orbsvcs/Event/Event_Channel.cpp index debcb7bad46..627f4f33c57 100644 --- a/TAO/orbsvcs/orbsvcs/Event/Event_Channel.cpp +++ b/TAO/orbsvcs/orbsvcs/Event/Event_Channel.cpp @@ -251,7 +251,7 @@ public: request_ (request), dispatching_module_ (dispatching_module) { } - virtual int execute (void* arg = 0) + virtual int execute (void* /* arg = 0 */) { TAO_TRY { @@ -1646,7 +1646,7 @@ ACE_ES_Consumer_Correlation::~ACE_ES_Consumer_Correlation (void) } void -ACE_ES_Consumer_Correlation::disconnect_push_supplier (CORBA::Environment &TAO_IN_ENV) +ACE_ES_Consumer_Correlation::disconnect_push_supplier (CORBA::Environment &) { connected_ = 0; } @@ -2149,7 +2149,7 @@ ACE_ES_Consumer_Rep::~ACE_ES_Consumer_Rep (void) } int -ACE_ES_Consumer_Rep::execute (void* arg) +ACE_ES_Consumer_Rep::execute (void* /* arg */) { ACE_ERROR ((LM_ERROR, "Warning! ACE_ES_Consumer_Rep::execute called.\n")); return -1; @@ -2158,7 +2158,7 @@ ACE_ES_Consumer_Rep::execute (void* arg) // ************************************************************ int -ACE_ES_Consumer_Rep_Timeout::execute (void* arg) +ACE_ES_Consumer_Rep_Timeout::execute (void* /* arg */) { ACE_TIMEPROBE (TAO_EVENT_CHANNEL_CONSUMER_REP_TIMEOUT_EXECUTE); if (this->receiving_events ()) diff --git a/TAO/orbsvcs/orbsvcs/Log/Logger_i.cpp b/TAO/orbsvcs/orbsvcs/Log/Logger_i.cpp index bc6e33cf6ee..6149c041bd3 100644 --- a/TAO/orbsvcs/orbsvcs/Log/Logger_i.cpp +++ b/TAO/orbsvcs/orbsvcs/Log/Logger_i.cpp @@ -143,7 +143,7 @@ Logger_i::logv2 (const Logger::Log_Record &log_rec, void Logger_i::logv (const Logger::Log_Record &log_rec, Logger::Verbosity_Level verbosity, - CORBA::Environment &TAO_IN_ENV) + CORBA::Environment &) { // Create an <ACE_Log_Record> to leverage existing logging // code. Since Logger::Log_Priority enum tags don't cleanly map to diff --git a/TAO/orbsvcs/orbsvcs/Property/CosPropertyService_i.cpp b/TAO/orbsvcs/orbsvcs/Property/CosPropertyService_i.cpp index 88499fe4de5..90e1507aec5 100644 --- a/TAO/orbsvcs/orbsvcs/Property/CosPropertyService_i.cpp +++ b/TAO/orbsvcs/orbsvcs/Property/CosPropertyService_i.cpp @@ -1277,7 +1277,7 @@ TAO_PropertySetDef::~TAO_PropertySetDef (void) // Return the sequence that is there in side. void TAO_PropertySetDef::get_allowed_property_types (CosPropertyService::PropertyTypes_out property_types, - CORBA::Environment &TAO_IN_ENV) + CORBA::Environment &) { // Copy contents of the sequence. ACE_NEW (property_types, @@ -1286,7 +1286,7 @@ TAO_PropertySetDef::get_allowed_property_types (CosPropertyService::PropertyType void TAO_PropertySetDef::get_allowed_properties (CosPropertyService::PropertyDefs_out property_defs, - CORBA::Environment &TAO_IN_ENV) + CORBA::Environment &) { // We have all the names, get the values and the modes from the Hash // Table and return. @@ -1531,7 +1531,7 @@ TAO_PropertySetDef::get_property_mode (const char *property_name, CORBA::Boolean TAO_PropertySetDef::get_property_modes (const CosPropertyService::PropertyNames &property_names, CosPropertyService::PropertyModes_out property_modes, - CORBA::Environment &TAO_IN_ENV) + CORBA::Environment &) { // Get the length of names sequence. size_t sequence_length = property_names.length (); @@ -1790,7 +1790,7 @@ TAO_PropertyNamesIterator::~TAO_PropertyNamesIterator (void) // one exists. void -TAO_PropertyNamesIterator::reset (CORBA::Environment &TAO_IN_ENV) +TAO_PropertyNamesIterator::reset (CORBA::Environment &) { this->iterator_ = this->iterator_.map ().begin (); } @@ -1802,7 +1802,7 @@ TAO_PropertyNamesIterator::reset (CORBA::Environment &TAO_IN_ENV) CORBA::Boolean TAO_PropertyNamesIterator::next_one (CORBA::String_out property_name, - CORBA::Environment &TAO_IN_ENV) + CORBA::Environment &) { CosProperty_Hash_Entry_ptr entry_ptr; @@ -1820,7 +1820,7 @@ TAO_PropertyNamesIterator::next_one (CORBA::String_out property_name, CORBA::Boolean TAO_PropertyNamesIterator::next_n (CORBA::ULong how_many, CosPropertyService::PropertyNames_out property_names, - CORBA::Environment &TAO_IN_ENV) + CORBA::Environment &) { CosProperty_Hash_Entry_ptr entry_ptr = 0; @@ -1846,7 +1846,7 @@ TAO_PropertyNamesIterator::next_n (CORBA::ULong how_many, } void -TAO_PropertyNamesIterator::destroy (CORBA::Environment &TAO_IN_ENV) +TAO_PropertyNamesIterator::destroy (CORBA::Environment &) { } @@ -1860,14 +1860,14 @@ TAO_PropertiesIterator::~TAO_PropertiesIterator (void) } void -TAO_PropertiesIterator::reset (CORBA::Environment &TAO_IN_ENV) +TAO_PropertiesIterator::reset (CORBA::Environment &) { this->iterator_ = this->iterator_.map ().begin (); } CORBA::Boolean TAO_PropertiesIterator::next_one (CosPropertyService::Property_out aproperty, - CORBA::Environment &TAO_IN_ENV) + CORBA::Environment &) { CosProperty_Hash_Entry_ptr entry_ptr; @@ -1889,7 +1889,7 @@ TAO_PropertiesIterator::next_one (CosPropertyService::Property_out aproperty, CORBA::Boolean TAO_PropertiesIterator::next_n (CORBA::ULong how_many, CosPropertyService::Properties_out nproperties, - CORBA::Environment &TAO_IN_ENV) + CORBA::Environment &) { CosProperty_Hash_Entry_ptr entry_ptr = 0; @@ -1920,7 +1920,7 @@ TAO_PropertiesIterator::next_n (CORBA::ULong how_many, } void -TAO_PropertiesIterator::destroy (CORBA::Environment &TAO_IN_ENV) +TAO_PropertiesIterator::destroy (CORBA::Environment &) { } diff --git a/TAO/orbsvcs/orbsvcs/Runtime_Scheduler.cpp b/TAO/orbsvcs/orbsvcs/Runtime_Scheduler.cpp index d4bb24ca418..0277379c6d2 100644 --- a/TAO/orbsvcs/orbsvcs/Runtime_Scheduler.cpp +++ b/TAO/orbsvcs/orbsvcs/Runtime_Scheduler.cpp @@ -29,7 +29,7 @@ ACE_Runtime_Scheduler (int config_count, RtecScheduler::handle_t ACE_Runtime_Scheduler::create (const char *entry_point, - CORBA::Environment &TAO_IN_ENV) + CORBA::Environment &) TAO_THROW_SPEC ((CORBA::SystemException, RtecScheduler::DUPLICATE_NAME)) { @@ -192,11 +192,10 @@ ACE_Runtime_Scheduler::entry_point_priority (const char * entry_point, void ACE_Runtime_Scheduler::add_dependency (RtecScheduler::handle_t handle, - RtecScheduler::handle_t dependency, - CORBA::Long number_of_calls, - RtecScheduler::Dependency_Type_t - dependency_type, - CORBA::Environment &TAO_IN_ENV) + RtecScheduler::handle_t /* dependency */, + CORBA::Long /* number_of_calls */, + RtecScheduler::Dependency_Type_t /* dependency_type */, + CORBA::Environment &TAO_IN_ENV) TAO_THROW_SPEC ((CORBA::SystemException, RtecScheduler::UNKNOWN_TASK)) { @@ -226,12 +225,12 @@ ACE_Runtime_Scheduler::add_dependency (RtecScheduler::handle_t handle, // this is a no-op. void -ACE_Runtime_Scheduler::compute_scheduling (CORBA::Long minimum_priority, - CORBA::Long maximum_priority, - RtecScheduler::RT_Info_Set_out infos, - RtecScheduler::Config_Info_Set_out configs, - RtecScheduler::Scheduling_Anomaly_Set_out anomalies, - CORBA::Environment &TAO_IN_ENV) +ACE_Runtime_Scheduler::compute_scheduling (CORBA::Long /* minimum_priority */, + CORBA::Long /* maximum_priority */, + RtecScheduler::RT_Info_Set_out /* infos */, + RtecScheduler::Config_Info_Set_out /* configs */, + RtecScheduler::Scheduling_Anomaly_Set_out /* anomalies */, + CORBA::Environment &) TAO_THROW_SPEC ((CORBA::SystemException, RtecScheduler::UTILIZATION_BOUND_EXCEEDED, RtecScheduler::INSUFFICIENT_THREAD_PRIORITY_LEVELS, diff --git a/TAO/orbsvcs/orbsvcs/Sched/Strategy_Scheduler.cpp b/TAO/orbsvcs/orbsvcs/Sched/Strategy_Scheduler.cpp index cf35bc858b6..bda4bed16e9 100644 --- a/TAO/orbsvcs/orbsvcs/Sched/Strategy_Scheduler.cpp +++ b/TAO/orbsvcs/orbsvcs/Sched/Strategy_Scheduler.cpp @@ -960,8 +960,8 @@ ACE_RMS_Scheduler_Strategy::dynamic_subpriority (Dispatch_Entry &entry, int ACE_RMS_Scheduler_Strategy::dynamic_subpriority_comp - (const Dispatch_Entry &first_entry, - const Dispatch_Entry &second_entry) + (const Dispatch_Entry & /* first_entry */, + const Dispatch_Entry & /* second_entry */) { return 0; } @@ -1027,8 +1027,8 @@ ACE_MLF_Scheduler_Strategy::instance () // static priority under MLF. int -ACE_MLF_Scheduler_Strategy::priority_comp (const Dispatch_Entry &first_entry, - const Dispatch_Entry &second_entry) +ACE_MLF_Scheduler_Strategy::priority_comp (const Dispatch_Entry & /* first_entry */, + const Dispatch_Entry & /* second_entry */) { return 0; } @@ -1050,7 +1050,7 @@ ACE_MLF_Scheduler_Strategy::sort ( // = Default constructor. ACE_MLF_Scheduler_Strategy::ACE_MLF_Scheduler_Strategy ( - ACE_DynScheduler::Preemption_Priority minimum_critical_priority) + ACE_DynScheduler::Preemption_Priority /* minimum_critical_priority */) :ACE_Scheduler_Strategy (0) { } @@ -1161,8 +1161,8 @@ ACE_EDF_Scheduler_Strategy::instance () // equivalent static priority under EDF. int -ACE_EDF_Scheduler_Strategy::priority_comp (const Dispatch_Entry &first_entry, - const Dispatch_Entry &second_entry) +ACE_EDF_Scheduler_Strategy::priority_comp (const Dispatch_Entry & /* first_entry */, + const Dispatch_Entry & /* second_entry */) { return 0; } @@ -1184,7 +1184,7 @@ ACE_EDF_Scheduler_Strategy::sort ( // = Default constructor. ACE_EDF_Scheduler_Strategy::ACE_EDF_Scheduler_Strategy ( - ACE_DynScheduler::Preemption_Priority minimum_critical_priority) + ACE_DynScheduler::Preemption_Priority /* minimum_critical_priority */) :ACE_Scheduler_Strategy (0) { } @@ -1561,8 +1561,8 @@ ACE_Criticality_Scheduler_Strategy::dynamic_subpriority (Dispatch_Entry &entry, int ACE_Criticality_Scheduler_Strategy::dynamic_subpriority_comp - (const Dispatch_Entry &first_entry, - const Dispatch_Entry &second_entry) + (const Dispatch_Entry & /* first_entry */, + const Dispatch_Entry & /* second_entry */) { return 0; } diff --git a/TAO/orbsvcs/orbsvcs/Time/TAO_TIO.cpp b/TAO/orbsvcs/orbsvcs/Time/TAO_TIO.cpp index c1ee713e1a3..eca24247b4e 100644 --- a/TAO/orbsvcs/orbsvcs/Time/TAO_TIO.cpp +++ b/TAO/orbsvcs/orbsvcs/Time/TAO_TIO.cpp @@ -19,7 +19,7 @@ TAO_TIO::~TAO_TIO (void) // This is the get method for the attribute time interval. TimeBase::IntervalT -TAO_TIO::time_interval (CORBA::Environment &env) +TAO_TIO::time_interval (CORBA::Environment &) { return attr_time_interval; } @@ -33,7 +33,7 @@ TAO_TIO::time_interval (CORBA::Environment &env) CosTime::OverlapType TAO_TIO::spans (CosTime::UTO_ptr uto, CosTime::TIO_out overlap, - CORBA::Environment &env) + CORBA::Environment &) { TAO_TIO *tio = 0; @@ -140,7 +140,7 @@ TAO_TIO::spans (CosTime::UTO_ptr uto, CosTime::OverlapType TAO_TIO::overlaps (CosTime::TIO_ptr tio, CosTime::TIO_out overlap, - CORBA::Environment &env) + CORBA::Environment &) { TAO_TIO *tio_i = 0; diff --git a/TAO/orbsvcs/orbsvcs/Time/TAO_UTO.cpp b/TAO/orbsvcs/orbsvcs/Time/TAO_UTO.cpp index 9b86b4c1c4f..a6381267c65 100644 --- a/TAO/orbsvcs/orbsvcs/Time/TAO_UTO.cpp +++ b/TAO/orbsvcs/orbsvcs/Time/TAO_UTO.cpp @@ -25,7 +25,7 @@ TAO_UTO::~TAO_UTO (void) // Get Method for the readonly attribute time. TimeBase::TimeT -TAO_UTO::time (CORBA::Environment &env) +TAO_UTO::time (CORBA::Environment &) { return attr_utc_time_.time; } @@ -33,7 +33,7 @@ TAO_UTO::time (CORBA::Environment &env) // Get method for the readonly attribute inaccuracy. TimeBase::InaccuracyT -TAO_UTO::inaccuracy (CORBA::Environment &env) +TAO_UTO::inaccuracy (CORBA::Environment &) { return attr_utc_time_.inacclo + attr_utc_time_.inacchi; } @@ -41,7 +41,7 @@ TAO_UTO::inaccuracy (CORBA::Environment &env) // Get method for the readonly attribute tdf. TimeBase::TdfT -TAO_UTO::tdf (CORBA::Environment &env) +TAO_UTO::tdf (CORBA::Environment &) { return attr_utc_time_.tdf; } @@ -49,7 +49,7 @@ TAO_UTO::tdf (CORBA::Environment &env) // Get method for the readonly attribute utc_time. TimeBase::UtcT -TAO_UTO::utc_time (CORBA::Environment &env) +TAO_UTO::utc_time (CORBA::Environment &) { return attr_utc_time_; } @@ -58,7 +58,7 @@ TAO_UTO::utc_time (CORBA::Environment &env) // the Base Time, UTC and Distributed Time Sync. Algos. [3]. CosTime::UTO_ptr -TAO_UTO::absolute_time (CORBA::Environment &env) +TAO_UTO::absolute_time (CORBA::Environment &) { return 0; } @@ -69,7 +69,7 @@ TAO_UTO::absolute_time (CORBA::Environment &env) CosTime::TimeComparison TAO_UTO::compare_time (CosTime::ComparisonType comparison_type, CosTime::UTO_ptr uto, - CORBA::Environment &env) + CORBA::Environment &) { TAO_TRY { diff --git a/TAO/orbsvcs/orbsvcs/Time/Timer_Helper.cpp b/TAO/orbsvcs/orbsvcs/Time/Timer_Helper.cpp index e7594872e16..b9ac9c6c9a6 100644 --- a/TAO/orbsvcs/orbsvcs/Time/Timer_Helper.cpp +++ b/TAO/orbsvcs/orbsvcs/Time/Timer_Helper.cpp @@ -23,8 +23,8 @@ Timer_Helper::~Timer_Helper (void) } int -Timer_Helper::handle_timeout (const ACE_Time_Value &time, - const void *arg) +Timer_Helper::handle_timeout (const ACE_Time_Value &, + const void *) { int no_of_servers = 0; CORBA::ULongLong sum = 0; diff --git a/TAO/orbsvcs/orbsvcs/Trader/Constraint_Visitors.cpp b/TAO/orbsvcs/orbsvcs/Trader/Constraint_Visitors.cpp index e056c4242c7..ddffa05012b 100644 --- a/TAO/orbsvcs/orbsvcs/Trader/Constraint_Visitors.cpp +++ b/TAO/orbsvcs/orbsvcs/Trader/Constraint_Visitors.cpp @@ -150,7 +150,7 @@ TAO_Constraint_Evaluator::visit_max (TAO_Unary_Constraint* unary_max) } int -TAO_Constraint_Evaluator::visit_random (TAO_Noop_Constraint* noop_random) +TAO_Constraint_Evaluator::visit_random (TAO_Noop_Constraint *) { TAO_Literal_Constraint random ((CORBA::Long) (ACE_OS::rand ())); this->queue_.enqueue_head (random); @@ -158,7 +158,7 @@ TAO_Constraint_Evaluator::visit_random (TAO_Noop_Constraint* noop_random) } int -TAO_Constraint_Evaluator::visit_first (TAO_Noop_Constraint* noop_first) +TAO_Constraint_Evaluator::visit_first (TAO_Noop_Constraint *) { TAO_Literal_Constraint first ((CORBA::Long) 0); this->queue_.enqueue_head (first); @@ -803,13 +803,13 @@ TAO_Constraint_Validator::visit_constraint (TAO_Unary_Constraint* constraint) } int -TAO_Constraint_Validator::visit_first (TAO_Noop_Constraint* noop) +TAO_Constraint_Validator::visit_first (TAO_Noop_Constraint *) { return 0; } int -TAO_Constraint_Validator::visit_random (TAO_Noop_Constraint* noop) +TAO_Constraint_Validator::visit_random (TAO_Noop_Constraint *) { return 0; } @@ -1150,14 +1150,14 @@ visit_not_equal (TAO_Binary_Constraint* boolean_neq) int TAO_Constraint_Validator:: -visit_literal (TAO_Literal_Constraint* literal) +visit_literal (TAO_Literal_Constraint *) { return 0; } int TAO_Constraint_Validator:: -visit_property (TAO_Property_Constraint* literal) +visit_property (TAO_Property_Constraint *) { return 0; } diff --git a/TAO/orbsvcs/orbsvcs/Trader/Offer_Iterators.cpp b/TAO/orbsvcs/orbsvcs/Trader/Offer_Iterators.cpp index 3f7203dcda3..e96619bcf75 100644 --- a/TAO/orbsvcs/orbsvcs/Trader/Offer_Iterators.cpp +++ b/TAO/orbsvcs/orbsvcs/Trader/Offer_Iterators.cpp @@ -31,7 +31,7 @@ TAO_Offer_Iterator::~TAO_Offer_Iterator (void) } void -TAO_Offer_Iterator::destroy (CORBA::Environment& env) +TAO_Offer_Iterator::destroy (CORBA::Environment &) TAO_THROW_SPEC ((CORBA::SystemException)) { // Remove self from POA @@ -81,7 +81,7 @@ TAO_Query_Only_Offer_Iterator::add_offer (CosTrading::OfferId offer_id, } CORBA::ULong -TAO_Query_Only_Offer_Iterator::max_left (CORBA::Environment& TAO_IN_ENV) +TAO_Query_Only_Offer_Iterator::max_left (CORBA::Environment &) TAO_THROW_SPEC((CORBA::SystemException, CosTrading::UnknownMaxLeft)) { @@ -91,7 +91,7 @@ TAO_Query_Only_Offer_Iterator::max_left (CORBA::Environment& TAO_IN_ENV) CORBA::Boolean TAO_Query_Only_Offer_Iterator::next_n (CORBA::ULong n, CosTrading::OfferSeq_out offers, - CORBA::Environment& TAO_IN_ENV) + CORBA::Environment &) TAO_THROW_SPEC ((CORBA::SystemException)) { offers = new CosTrading::OfferSeq; @@ -279,7 +279,7 @@ TAO_Offer_Id_Iterator::~TAO_Offer_Id_Iterator (void) } CORBA::ULong -TAO_Offer_Id_Iterator::max_left (CORBA::Environment& env) +TAO_Offer_Id_Iterator::max_left (CORBA::Environment &) TAO_THROW_SPEC ((CORBA::SystemException, CosTrading::UnknownMaxLeft)) { @@ -287,7 +287,7 @@ TAO_Offer_Id_Iterator::max_left (CORBA::Environment& env) } void -TAO_Offer_Id_Iterator::destroy (CORBA::Environment& TAO_IN_ENV) +TAO_Offer_Id_Iterator::destroy (CORBA::Environment &) TAO_THROW_SPEC ((CORBA::SystemException)) { // Remove self from POA @@ -316,8 +316,8 @@ TAO_Offer_Id_Iterator::destroy (CORBA::Environment& TAO_IN_ENV) CORBA::Boolean TAO_Offer_Id_Iterator::next_n (CORBA::ULong n, - CosTrading::OfferIdSeq_out _ids, - CORBA::Environment& TAO_IN_ENV) + CosTrading::OfferIdSeq_out _ids, + CORBA::Environment &) TAO_THROW_SPEC ((CORBA::SystemException)) { // Calculate the number of Ids to be returned in this. diff --git a/TAO/orbsvcs/orbsvcs/Trader/Offer_Iterators.h b/TAO/orbsvcs/orbsvcs/Trader/Offer_Iterators.h index f1513e0835c..64a080a00e7 100644 --- a/TAO/orbsvcs/orbsvcs/Trader/Offer_Iterators.h +++ b/TAO/orbsvcs/orbsvcs/Trader/Offer_Iterators.h @@ -89,7 +89,7 @@ public: // END SPEC protected: - TAO_Offer_Iterator (TAO_Offer_Iterator& iter) {} + TAO_Offer_Iterator (TAO_Offer_Iterator &) {} // To satisfy g++'s insane lust for copy constructors... TAO_Offer_Iterator& operator=(const TAO_Offer_Iterator&); diff --git a/TAO/orbsvcs/orbsvcs/Trader/Offer_Iterators_T.h b/TAO/orbsvcs/orbsvcs/Trader/Offer_Iterators_T.h index fa74f0acf5e..beae59855fd 100644 --- a/TAO/orbsvcs/orbsvcs/Trader/Offer_Iterators_T.h +++ b/TAO/orbsvcs/orbsvcs/Trader/Offer_Iterators_T.h @@ -46,12 +46,12 @@ public: virtual CORBA::Boolean next_n (CORBA::ULong n, CosTrading::OfferSeq_out offers, - CORBA::Environment& _env) + CORBA::Environment &) TAO_THROW_SPEC ((CORBA::SystemException)); // Deposit at maximum n offers into the return sequence and return 1, // or return 0 if the iterator is done and no offers are returned. - virtual CORBA::ULong max_left (CORBA::Environment& _env) + virtual CORBA::ULong max_left (CORBA::Environment &) TAO_THROW_SPEC ((CORBA::SystemException, CosTrading::UnknownMaxLeft)); // Throws CosTrading::UnknownMaxLeft since with the presence of @@ -60,7 +60,7 @@ public: // to return them comes. void add_offer (CosTrading::OfferId id, - const CosTrading::Offer* offer); + const CosTrading::Offer *); // Add an offer the iterator should iterate over. private: diff --git a/TAO/orbsvcs/orbsvcs/Trader/Service_Type_Repository.cpp b/TAO/orbsvcs/orbsvcs/Trader/Service_Type_Repository.cpp index 9fde095335b..6ef9a11c184 100644 --- a/TAO/orbsvcs/orbsvcs/Trader/Service_Type_Repository.cpp +++ b/TAO/orbsvcs/orbsvcs/Trader/Service_Type_Repository.cpp @@ -51,8 +51,7 @@ TAO_Service_Type_Repository::~TAO_Service_Type_Repository (void) CosTradingRepos::ServiceTypeRepository::IncarnationNumber -TAO_Service_Type_Repository:: -incarnation (CORBA::Environment& TAO_IN_ENV) +TAO_Service_Type_Repository::incarnation (CORBA::Environment &) { CosTradingRepos::ServiceTypeRepository::IncarnationNumber inc_num; if (this->lock_->acquire_read () == -1) @@ -570,7 +569,7 @@ update_type_map (const char* name, const char * if_name, const CosTradingRepos::ServiceTypeRepository::PropStructSeq& props, const CosTradingRepos::ServiceTypeRepository::ServiceTypeNameSeq& super_types, - Prop_Map& prop_map, + Prop_Map &, Service_Type_Map& super_map) { // update entries for all supertypes to include this type as a subtype. diff --git a/TAO/orbsvcs/orbsvcs/Trader/Trader_Interfaces.h b/TAO/orbsvcs/orbsvcs/Trader/Trader_Interfaces.h index d9ddf1b09b7..4e8086f8d96 100644 --- a/TAO/orbsvcs/orbsvcs/Trader/Trader_Interfaces.h +++ b/TAO/orbsvcs/orbsvcs/Trader/Trader_Interfaces.h @@ -183,7 +183,7 @@ private: // Check if offers of a type fit the constraints and order them // according to the preferences submitted. - int fill_receptacles (const char* type, + int fill_receptacles (const char *, CORBA::ULong how_many, const CosTrading::Lookup::SpecifiedProps& desired_props, TAO_Policies& policies, @@ -614,47 +614,47 @@ public: // = Importing Parameters (used by the Lookup Interface) virtual CORBA::ULong set_def_search_card (CORBA::ULong value, - CORBA::Environment &env) + CORBA::Environment &) TAO_THROW_SPEC ((CORBA::SystemException)); virtual CORBA::ULong set_max_search_card (CORBA::ULong value, - CORBA::Environment &env) + CORBA::Environment &) TAO_THROW_SPEC ((CORBA::SystemException)); // search card is the cardinality of the offers searched for // constraint compliance. virtual CORBA::ULong set_def_match_card (CORBA::ULong value, - CORBA::Environment &env) + CORBA::Environment &) TAO_THROW_SPEC ((CORBA::SystemException)); virtual CORBA::ULong set_max_match_card (CORBA::ULong value, - CORBA::Environment &env) + CORBA::Environment &) TAO_THROW_SPEC ((CORBA::SystemException)); // match card is the cardinality of offers found compliant with the // constraints. virtual CORBA::ULong set_def_return_card (CORBA::ULong value, - CORBA::Environment &env) + CORBA::Environment &) TAO_THROW_SPEC ((CORBA::SystemException)); virtual CORBA::ULong set_max_return_card (CORBA::ULong value, - CORBA::Environment &env) + CORBA::Environment &) TAO_THROW_SPEC ((CORBA::SystemException)); // return card is the cardinality of the offers returned from // Lookup. virtual CORBA::ULong set_max_list (CORBA::ULong value, - CORBA::Environment &env) + CORBA::Environment &) TAO_THROW_SPEC ((CORBA::SystemException)); virtual CORBA::Boolean set_supports_modifiable_properties (CORBA::Boolean value, - CORBA::Environment &env) + CORBA::Environment &) TAO_THROW_SPEC ((CORBA::SystemException)); virtual CORBA::Boolean set_supports_dynamic_properties (CORBA::Boolean value, - CORBA::Environment &env) + CORBA::Environment &) TAO_THROW_SPEC ((CORBA::SystemException)); virtual CORBA::Boolean set_supports_proxy_offers (CORBA::Boolean value, - CORBA::Environment &env) + CORBA::Environment &) TAO_THROW_SPEC ((CORBA::SystemException)); // Types of offers available for consideration. Ween out those // offers with modifiable properties @@ -662,39 +662,39 @@ public: // = Link Interface parameters virtual CORBA::ULong set_def_hop_count (CORBA::ULong value, - CORBA::Environment &env) + CORBA::Environment &) TAO_THROW_SPEC ((CORBA::SystemException)); virtual CORBA::ULong set_max_hop_count (CORBA::ULong value, - CORBA::Environment &env) + CORBA::Environment &) TAO_THROW_SPEC ((CORBA::SystemException)); virtual CosTrading::FollowOption set_def_follow_policy (CosTrading::FollowOption policy, - CORBA::Environment &env) + CORBA::Environment &) TAO_THROW_SPEC ((CORBA::SystemException)); virtual CosTrading::FollowOption set_max_follow_policy (CosTrading::FollowOption policy, - CORBA::Environment &env) + CORBA::Environment &) TAO_THROW_SPEC ((CORBA::SystemException)); virtual CosTrading::FollowOption set_max_link_follow_policy (CosTrading::FollowOption policy, - CORBA::Environment &env) + CORBA::Environment &) TAO_THROW_SPEC ((CORBA::SystemException)); // = Set Type Repository virtual CosTrading::TypeRepository_ptr set_type_repos (CosTrading::TypeRepository_ptr repository, - CORBA::Environment& env) + CORBA::Environment &) TAO_THROW_SPEC ((CORBA::SystemException)); virtual CosTrading::Admin::OctetSeq* - request_id_stem (CORBA::Environment& env) + request_id_stem (CORBA::Environment &) TAO_THROW_SPEC ((CORBA::SystemException)); virtual CosTrading::Admin::OctetSeq* set_request_id_stem (const CosTrading::Admin::OctetSeq& stem, - CORBA::Environment& env) + CORBA::Environment &) TAO_THROW_SPEC ((CORBA::SystemException)); virtual void list_offers (CORBA::ULong how_many, @@ -723,9 +723,9 @@ public: // the "id_itr" is nil. // END SPEC - virtual void list_proxies (CORBA::ULong how_many, - CosTrading::OfferIdSeq_out ids, - CosTrading::OfferIdIterator_out id_itr, + virtual void list_proxies (CORBA::ULong, + CosTrading::OfferIdSeq_out, + CosTrading::OfferIdIterator_out, CORBA::Environment& env) TAO_THROW_SPEC ((CORBA::SystemException, CosTrading::NotImplemented)); @@ -861,7 +861,7 @@ public: // state. // END SPEC - virtual CosTrading::LinkNameSeq* list_links (CORBA::Environment& _env) + virtual CosTrading::LinkNameSeq* list_links (CORBA::Environment &) TAO_THROW_SPEC ((CORBA::SystemException)); // BEGIN SPEC @@ -940,12 +940,12 @@ public: ~TAO_Proxy (void); virtual CosTrading::OfferId - export_proxy (CosTrading::Lookup_ptr target, - const char *type, - const CosTrading::PropertySeq& properties, + export_proxy (CosTrading::Lookup_ptr, + const char *, + const CosTrading::PropertySeq &, CORBA::Boolean if_match_all, - const char * recipe, - const CosTrading::PolicySeq& policies_to_pass_on, + const char *, + const CosTrading::PolicySeq &, CORBA::Environment& _env) TAO_THROW_SPEC ((CORBA::SystemException, CosTrading::IllegalServiceType, @@ -959,7 +959,7 @@ public: CosTrading::DuplicatePropertyName, CosTrading::DuplicatePolicyName)); - virtual void withdraw_proxy (const char *id, + virtual void withdraw_proxy (const char *, CORBA::Environment& _env) TAO_THROW_SPEC ((CORBA::SystemException, CosTrading::IllegalOfferId, @@ -967,7 +967,7 @@ public: CosTrading::Proxy::NotProxyOfferId)); virtual CosTrading::Proxy::ProxyInfo * - describe_proxy (const char *id, + describe_proxy (const char *, CORBA::Environment& _env) TAO_THROW_SPEC ((CORBA::SystemException, CosTrading::IllegalOfferId, @@ -976,9 +976,9 @@ public: // = CosTrading::TraderComponents methods. - virtual void list_proxies (CORBA::ULong how_many, - CosTrading::OfferIdSeq*& ids, - CosTrading::OfferIdIterator_ptr& id_itr, + virtual void list_proxies (CORBA::ULong, + CosTrading::OfferIdSeq *&, + CosTrading::OfferIdIterator_ptr &, CORBA::Environment& env) TAO_THROW_SPEC ((CORBA::SystemException, CosTrading::NotImplemented)); diff --git a/TAO/orbsvcs/orbsvcs/Trader/Trader_T.h b/TAO/orbsvcs/orbsvcs/Trader/Trader_T.h index a2ad7ec22df..9e2b672755d 100644 --- a/TAO/orbsvcs/orbsvcs/Trader/Trader_T.h +++ b/TAO/orbsvcs/orbsvcs/Trader/Trader_T.h @@ -101,27 +101,27 @@ public: TAO_Trader_Components (const TAO_Trading_Components_i& comps); // = CosTrading::TraderComponents methods. - virtual CosTrading::Lookup_ptr lookup_if (CORBA::Environment& env) + virtual CosTrading::Lookup_ptr lookup_if (CORBA::Environment &) TAO_THROW_SPEC ((CORBA::SystemException)); // Returns an object reference to the Lookup interface of the trader. // Returns nil if the trader does not support Lookup interface. - virtual CosTrading::Register_ptr register_if (CORBA::Environment& env) + virtual CosTrading::Register_ptr register_if (CORBA::Environment &) TAO_THROW_SPEC ((CORBA::SystemException)); // Returns object reference for the Register interface of the trader. // Returns nil if the trader does not support Register interface. - virtual CosTrading::Link_ptr link_if (CORBA::Environment& env) + virtual CosTrading::Link_ptr link_if (CORBA::Environment &) TAO_THROW_SPEC ((CORBA::SystemException)); // Returns object reference for the Link interface of the trader. // Returns nil if the trader does not support Link interface. - virtual CosTrading::Proxy_ptr proxy_if (CORBA::Environment& env) + virtual CosTrading::Proxy_ptr proxy_if (CORBA::Environment &) TAO_THROW_SPEC ((CORBA::SystemException)); // Returns object reference to the Proxy interface of the trader. // Returns nil if the trader does not support Proxy interface. - virtual CosTrading::Admin_ptr admin_if (CORBA::Environment& env) + virtual CosTrading::Admin_ptr admin_if (CORBA::Environment &) TAO_THROW_SPEC ((CORBA::SystemException)); // Returns object reference for the Admin interface of the trader. // Returns nil if the trader does not support Admin interface. @@ -140,16 +140,16 @@ public: // = CosTrading::SupportAttributes methods. - virtual CORBA::Boolean supports_modifiable_properties (CORBA::Environment& env) + virtual CORBA::Boolean supports_modifiable_properties (CORBA::Environment &) TAO_THROW_SPEC ((CORBA::SystemException)); - virtual CORBA::Boolean supports_dynamic_properties (CORBA::Environment& env) + virtual CORBA::Boolean supports_dynamic_properties (CORBA::Environment &) TAO_THROW_SPEC ((CORBA::SystemException)); - virtual CORBA::Boolean supports_proxy_offers (CORBA::Environment& env) + virtual CORBA::Boolean supports_proxy_offers (CORBA::Environment &) TAO_THROW_SPEC ((CORBA::SystemException)); - virtual CosTrading::TypeRepository_ptr type_repos (CORBA::Environment& env) + virtual CosTrading::TypeRepository_ptr type_repos (CORBA::Environment &) TAO_THROW_SPEC ((CORBA::SystemException)); private: @@ -166,47 +166,47 @@ public: // = CosTrading::ImportAttributes methods. - virtual CORBA::ULong def_search_card (CORBA::Environment& env) + virtual CORBA::ULong def_search_card (CORBA::Environment &) TAO_THROW_SPEC ((CORBA::SystemException)); - virtual CORBA::ULong max_search_card (CORBA::Environment& env) + virtual CORBA::ULong max_search_card (CORBA::Environment &) TAO_THROW_SPEC ((CORBA::SystemException)); // Search cardinality determines the maximum number of offers searched // before not considering other offers. - virtual CORBA::ULong def_match_card (CORBA::Environment& env) + virtual CORBA::ULong def_match_card (CORBA::Environment &) TAO_THROW_SPEC ((CORBA::SystemException)); - virtual CORBA::ULong max_match_card (CORBA::Environment& env) + virtual CORBA::ULong max_match_card (CORBA::Environment &) TAO_THROW_SPEC ((CORBA::SystemException)); // Match cardinality determines the maximum number of offers // matched to the constraints before not considering other offers.. - virtual CORBA::ULong def_return_card (CORBA::Environment& env) + virtual CORBA::ULong def_return_card (CORBA::Environment &) TAO_THROW_SPEC ((CORBA::SystemException)); - virtual CORBA::ULong max_return_card (CORBA::Environment& env) + virtual CORBA::ULong max_return_card (CORBA::Environment &) TAO_THROW_SPEC ((CORBA::SystemException)); // Return cardinality determines the maximum number of offers marked // to return before not considering other offers. - virtual CORBA::ULong max_list (CORBA::Environment& env) + virtual CORBA::ULong max_list (CORBA::Environment &) TAO_THROW_SPEC ((CORBA::SystemException)); - virtual CORBA::ULong def_hop_count (CORBA::Environment& env) + virtual CORBA::ULong def_hop_count (CORBA::Environment &) TAO_THROW_SPEC ((CORBA::SystemException)); - virtual CORBA::ULong max_hop_count (CORBA::Environment& env) + virtual CORBA::ULong max_hop_count (CORBA::Environment &) TAO_THROW_SPEC ((CORBA::SystemException)); - virtual CosTrading::FollowOption def_follow_policy (CORBA::Environment& env) + virtual CosTrading::FollowOption def_follow_policy (CORBA::Environment &) TAO_THROW_SPEC ((CORBA::SystemException)); - virtual CosTrading::FollowOption max_follow_policy (CORBA::Environment& env) + virtual CosTrading::FollowOption max_follow_policy (CORBA::Environment &) TAO_THROW_SPEC ((CORBA::SystemException)); @@ -223,7 +223,7 @@ public: TAO_Link_Attributes (const TAO_Link_Attributes_i& attrs); // = CosTrading::LinkAttributes methods - virtual CosTrading::FollowOption max_link_follow_policy (CORBA::Environment &env) + virtual CosTrading::FollowOption max_link_follow_policy (CORBA::Environment &) TAO_THROW_SPEC ((CORBA::SystemException)); private: diff --git a/TAO/orbsvcs/tests/Concurrency/CC_command.tab.cpp b/TAO/orbsvcs/tests/Concurrency/CC_command.tab.cpp index 63df1f96012..a2c608b30b0 100644 --- a/TAO/orbsvcs/tests/Concurrency/CC_command.tab.cpp +++ b/TAO/orbsvcs/tests/Concurrency/CC_command.tab.cpp @@ -220,7 +220,11 @@ int ace_cc_yyindent; #endif /* ACE_CC_YYDEBUG_INDENT */ #ifndef ACE_CC_YYDEBUG_REDUCE #ifdef __cplusplus -void ACE_CC_YYDEBUG_REDUCE(int ace_cc_yynew_state, int ace_cc_yyrule_num, char *ace_cc_yyrule_string, int ace_cc_yynew_indent, int ace_cc_yyrhs_count) +void ACE_CC_YYDEBUG_REDUCE(int /* ace_cc_yynew_state */, + int /* ace_cc_yyrule_num */, + char *ace_cc_yyrule_string, + int ace_cc_yynew_indent, + int ace_cc_yyrhs_count) #else ACE_CC_YYDEBUG_REDUCE(ace_cc_yynew_state, ace_cc_yyrule_num, ace_cc_yyrule_string, ace_cc_yynew_indent, ace_cc_yyrhs_count) int ace_cc_yynew_state; @@ -250,7 +254,10 @@ int ace_cc_yyrhs_count; #endif /* ACE_CC_YYDEBUG_REDUCE */ #ifndef ACE_CC_YYDEBUG_SHIFT_LEXEME #ifdef __cplusplus -void ACE_CC_YYDEBUG_SHIFT_LEXEME(int ace_cc_yyold_state, int ace_cc_yynew_state, char *ace_cc_yytoken_string, int ace_cc_yynew_indent) +void ACE_CC_YYDEBUG_SHIFT_LEXEME(int /* ace_cc_yyold_state */, + int /* ace_cc_yynew_state */, + char *ace_cc_yytoken_string, + int ace_cc_yynew_indent) #else ACE_CC_YYDEBUG_SHIFT_LEXEME(ace_cc_yyold_state, ace_cc_yynew_state, ace_cc_yytoken_string, ace_cc_yynew_indent) int ace_cc_yyold_state; @@ -265,7 +272,10 @@ int ace_cc_yynew_indent; #endif /* ACE_CC_YYDEBUG_SHIFT_LEXEME */ #ifndef ACE_CC_YYDEBUG_LOOK_AHEAD #ifdef __cplusplus -void ACE_CC_YYDEBUG_LOOK_AHEAD(int ace_cc_yynew_state, int ace_cc_yytoken_num, char *ace_cc_yytoken_string, int ace_cc_yyindent) +void ACE_CC_YYDEBUG_LOOK_AHEAD(int /* ace_cc_yynew_state */, + int ace_cc_yytoken_num, + char *ace_cc_yytoken_string, + int ace_cc_yyindent) #else ACE_CC_YYDEBUG_LOOK_AHEAD(ace_cc_yynew_state, ace_cc_yytoken_num, ace_cc_yytoken_string, ace_cc_yyindent) int ace_cc_yynew_state; @@ -282,7 +292,7 @@ int ace_cc_yyindent; #endif /* ACE_CC_YYDEBUG_LOOK_AHEAD */ #ifndef ACE_CC_YYDEBUG_DISCARD_STATE #ifdef __cplusplus -void ACE_CC_YYDEBUG_DISCARD_STATE(int ace_cc_yynew_state, int ace_cc_yyindent) +void ACE_CC_YYDEBUG_DISCARD_STATE(int /* ace_cc_yynew_state */, int ace_cc_yyindent) #else ACE_CC_YYDEBUG_DISCARD_STATE(ace_cc_yynew_state, ace_cc_yyindent) int ace_cc_yynew_state; @@ -310,7 +320,10 @@ int ace_cc_yyindent; #endif /* ACE_CC_YYDEBUG_DISCARD_STATE */ #ifndef ACE_CC_YYDEBUG_DISCARD_TOKEN #ifdef __cplusplus -void ACE_CC_YYDEBUG_DISCARD_TOKEN(int ace_cc_yynew_state, int ace_cc_yytoken_num, char *ace_cc_yytoken_string, int ace_cc_yyindent) +void ACE_CC_YYDEBUG_DISCARD_TOKEN(int /* ace_cc_yynew_state */, + int /* ace_cc_yytoken_num */, + char *ace_cc_yytoken_string, + int ace_cc_yyindent) #else ACE_CC_YYDEBUG_DISCARD_TOKEN(ace_cc_yynew_state, ace_cc_yytoken_num, ace_cc_yytoken_string, ace_cc_yyindent) int ace_cc_yynew_state; @@ -325,7 +338,9 @@ int ace_cc_yyindent; #endif /* ACE_CC_YYDEBUG_DISCARD_TOKEN */ #ifndef ACE_CC_YYDEBUG_SHIFT_ERROR_LEXEME #ifdef __cplusplus -void ACE_CC_YYDEBUG_SHIFT_ERROR_LEXEME(int ace_cc_yyold_state, int ace_cc_yynew_state, int ace_cc_yyindent) +void ACE_CC_YYDEBUG_SHIFT_ERROR_LEXEME(int /* ace_cc_yyold_state */, + int /* ace_cc_yynew_state */, + int ace_cc_yyindent) #else ACE_CC_YYDEBUG_SHIFT_ERROR_LEXEME(ace_cc_yyold_state, ace_cc_yynew_state, ace_cc_yyindent) int ace_cc_yyold_state; diff --git a/TAO/orbsvcs/tests/Concurrency/CC_naming_service.cpp b/TAO/orbsvcs/tests/Concurrency/CC_naming_service.cpp index 9ce7f468e84..f0d9a7ff46e 100644 --- a/TAO/orbsvcs/tests/Concurrency/CC_naming_service.cpp +++ b/TAO/orbsvcs/tests/Concurrency/CC_naming_service.cpp @@ -66,7 +66,7 @@ CC_naming_service::Instance(void) CORBA::Object_var CC_naming_service::get_obj_from_name (char *c_name, char *name, - CORBA::Environment &TAO_IN_ENV) + CORBA::Environment &) { ACE_DEBUG ((LM_DEBUG, "C: %s, N: %s\n", c_name, name)); CORBA::Object_var obj; @@ -107,7 +107,7 @@ CC_naming_service::get_obj_from_name (char *c_name, char *name, void CC_naming_service::bind_name (char *n, CORBA::Object_ptr obj, - CORBA::Environment &TAO_IN_ENV) + CORBA::Environment &) { ACE_DEBUG ((LM_DEBUG, "CC_Client::bind_name\n")); diff --git a/TAO/orbsvcs/tests/Concurrency/CC_tests.cpp b/TAO/orbsvcs/tests/Concurrency/CC_tests.cpp index d0319efdd0b..51559e3e385 100644 --- a/TAO/orbsvcs/tests/Concurrency/CC_tests.cpp +++ b/TAO/orbsvcs/tests/Concurrency/CC_tests.cpp @@ -94,7 +94,7 @@ Test_Single_Lock_With_Mode::~Test_Single_Lock_With_Mode (void) } int -Test_Single_Lock_With_Mode::run (int times_to_run) +Test_Single_Lock_With_Mode::run (int /* times_to_run */) { CORBA::Boolean lock_not_held; @@ -173,7 +173,7 @@ Test_Setup_LockSet::~Test_Setup_LockSet (void) } int -Test_Setup_LockSet::run (int times_to_run) +Test_Setup_LockSet::run (int /* times_to_run */) { TAO_TRY { @@ -218,7 +218,7 @@ Test_Use_Already_Created_LockSet::~Test_Use_Already_Created_LockSet (void) } int -Test_Use_Already_Created_LockSet::run (int times_to_run) +Test_Use_Already_Created_LockSet::run (int /* times_to_run */) { TAO_TRY { @@ -263,7 +263,7 @@ Test_Unlock_Already_Created_LockSet::~Test_Unlock_Already_Created_LockSet (void) } int -Test_Unlock_Already_Created_LockSet::run (int times_to_run) +Test_Unlock_Already_Created_LockSet::run (int /* times_to_run */) { TAO_TRY { @@ -304,7 +304,7 @@ Test_Release_Not_Held_Lock::~Test_Release_Not_Held_Lock (void) } int -Test_Release_Not_Held_Lock::run (int times_to_run) +Test_Release_Not_Held_Lock::run (int /* times_to_run */) { CORBA::Boolean lock_not_held; diff --git a/TAO/orbsvcs/tests/EC_Custom_Marshal/ECM_Consumer.cpp b/TAO/orbsvcs/tests/EC_Custom_Marshal/ECM_Consumer.cpp index 4fb0d20c0b9..e380b16a026 100644 --- a/TAO/orbsvcs/tests/EC_Custom_Marshal/ECM_Consumer.cpp +++ b/TAO/orbsvcs/tests/EC_Custom_Marshal/ECM_Consumer.cpp @@ -174,8 +174,8 @@ Driver::run (int argc, char* argv[]) } void -Driver::push_consumer (void* consumer_cookie, - ACE_hrtime_t arrival, +Driver::push_consumer (void* /* consumer_cookie */, + ACE_hrtime_t /* arrival */, const RtecEventComm::EventSet& events, CORBA::Environment &TAO_IN_ENV) { diff --git a/TAO/orbsvcs/tests/EC_Custom_Marshal/ECM_Supplier.cpp b/TAO/orbsvcs/tests/EC_Custom_Marshal/ECM_Supplier.cpp index 3e831781618..bab65ca9f33 100644 --- a/TAO/orbsvcs/tests/EC_Custom_Marshal/ECM_Supplier.cpp +++ b/TAO/orbsvcs/tests/EC_Custom_Marshal/ECM_Supplier.cpp @@ -188,7 +188,7 @@ ECMS_Driver::run (int argc, char* argv[]) int ECMS_Driver::supplier_task (Test_Supplier *supplier, - void* cookie) + void* /* cookie */) { TAO_TRY { @@ -522,7 +522,7 @@ Test_Supplier::svc () } void -Test_Supplier::disconnect_push_supplier (CORBA::Environment& TAO_IN_ENV) +Test_Supplier::disconnect_push_supplier (CORBA::Environment &) { } diff --git a/TAO/orbsvcs/tests/EC_Throughput/ECT_Supplier.cpp b/TAO/orbsvcs/tests/EC_Throughput/ECT_Supplier.cpp index f98fb2cf5f8..09c2097252f 100644 --- a/TAO/orbsvcs/tests/EC_Throughput/ECT_Supplier.cpp +++ b/TAO/orbsvcs/tests/EC_Throughput/ECT_Supplier.cpp @@ -202,7 +202,7 @@ Test_Supplier::svc () } void -Test_Supplier::disconnect_push_supplier (CORBA::Environment& TAO_IN_ENV) +Test_Supplier::disconnect_push_supplier (CORBA::Environment &) { } diff --git a/TAO/orbsvcs/tests/Simple_Naming/client.cpp b/TAO/orbsvcs/tests/Simple_Naming/client.cpp index 92698ad956a..d639a016b22 100644 --- a/TAO/orbsvcs/tests/Simple_Naming/client.cpp +++ b/TAO/orbsvcs/tests/Simple_Naming/client.cpp @@ -55,13 +55,13 @@ My_Test_Object::~My_Test_Object (void) } CORBA::Short -My_Test_Object::id (CORBA::Environment &TAO_IN_ENV) +My_Test_Object::id (CORBA::Environment &) { return id_; } void -My_Test_Object::id (CORBA::Short id, CORBA::Environment &TAO_IN_ENV) +My_Test_Object::id (CORBA::Short id, CORBA::Environment &) { id_ = id; } diff --git a/TAO/orbsvcs/tests/Trading/Simple_Dynamic.h b/TAO/orbsvcs/tests/Trading/Simple_Dynamic.h index 8dc42e58f4c..3abbba5526a 100644 --- a/TAO/orbsvcs/tests/Trading/Simple_Dynamic.h +++ b/TAO/orbsvcs/tests/Trading/Simple_Dynamic.h @@ -25,10 +25,10 @@ public: TAO_Simple_Dynamic_Property (const T& dp); - virtual CORBA::Any* evalDP (const char* name, - CORBA::TypeCode_ptr returned_type, - const CORBA::Any& extra_info, - CORBA::Environment& _env) + virtual CORBA::Any* evalDP (const char* /* name */, + CORBA::TypeCode_ptr /* returned_type */, + const CORBA::Any& /* extra_info */, + CORBA::Environment &) TAO_THROW_SPEC ((CosTradingDynamic::DPEvalFailure)); private: diff --git a/TAO/orbsvcs/tests/Trading/TT_Info.h b/TAO/orbsvcs/tests/Trading/TT_Info.h index cfd74b0bd5a..5bbd2885fe9 100644 --- a/TAO/orbsvcs/tests/Trading/TT_Info.h +++ b/TAO/orbsvcs/tests/Trading/TT_Info.h @@ -34,7 +34,7 @@ public: Remote_Output (void) {} - virtual void confirm (CORBA::Environment& _env) + virtual void confirm (CORBA::Environment &) TAO_THROW_SPEC ((CORBA::SystemException)) {} // Method to test that the importer received a valid reference to // the exported object. @@ -47,7 +47,7 @@ public: Printer (void) {} - virtual void confirm (CORBA::Environment& _env) + virtual void confirm (CORBA::Environment &) TAO_THROW_SPEC ((CORBA::SystemException)) {} // Method to test that the importer received a valid reference to // the exported object. @@ -59,7 +59,7 @@ public: public: Plotter (void) {} - virtual void confirm (CORBA::Environment& _env) + virtual void confirm (CORBA::Environment &) TAO_THROW_SPEC ((CORBA::SystemException)) {} // Method to test that the importer received a valid reference to // the exported object. @@ -71,7 +71,7 @@ public: public: File_System (void) {} - virtual void confirm (CORBA::Environment& _env) + virtual void confirm (CORBA::Environment &) TAO_THROW_SPEC ((CORBA::SystemException)) {} // Method to test that the importer received a valid reference to // the exported object. @@ -83,7 +83,7 @@ public: public: PostScript_Printer (void) {} - virtual void confirm (CORBA::Environment& _env) + virtual void confirm (CORBA::Environment &) TAO_THROW_SPEC ((CORBA::SystemException)) {} // Method to test that the importer received a valid reference to // the exported object. diff --git a/TAO/tests/NestedUpcall/Reactor/eh_i.cpp b/TAO/tests/NestedUpcall/Reactor/eh_i.cpp index 9418e1477f8..edc59e21080 100644 --- a/TAO/tests/NestedUpcall/Reactor/eh_i.cpp +++ b/TAO/tests/NestedUpcall/Reactor/eh_i.cpp @@ -17,7 +17,7 @@ EventHandler_i::~EventHandler_i (void) // Return a long CORBA::Long -EventHandler_i::peer (CORBA::Environment &env) +EventHandler_i::peer (CORBA::Environment &) { // Doesn't matter what value we return! CORBA::Long val = 6; diff --git a/TAO/tests/NestedUpcall/Reactor/reactor_i.cpp b/TAO/tests/NestedUpcall/Reactor/reactor_i.cpp index a761bebf51c..fd1e86f26a1 100644 --- a/TAO/tests/NestedUpcall/Reactor/reactor_i.cpp +++ b/TAO/tests/NestedUpcall/Reactor/reactor_i.cpp @@ -18,7 +18,7 @@ Reactor_i::~Reactor_i (void) // register...with nothing CORBA::Long Reactor_i::register_handler (EventHandler_ptr eh, - CORBA::Environment &env) + CORBA::Environment &) { ACE_DEBUG ((LM_DEBUG, "(%P|%t) BEGIN Reactor_i::register_handler ()\n")); @@ -46,7 +46,7 @@ Reactor_i::register_handler (EventHandler_ptr eh, } void -Reactor_i::set_value (CORBA::Environment &env) +Reactor_i::set_value (CORBA::Environment &) { ACE_DEBUG ((LM_DEBUG, "(%P|%t) doing Reactor_i::set_value()\n")); @@ -73,7 +73,7 @@ Reactor_i::decrement (EventHandler_ptr eh, } void -Reactor_i::stop (CORBA::Environment &env) +Reactor_i::stop (CORBA::Environment &) { ACE_DEBUG ((LM_DEBUG, "(%P|%t) stopping.\n")); TAO_ORB_Core_instance ()->orb ()->shutdown (); diff --git a/TAO/tests/NestedUpcall/Triangle_Test/Initiator_i.cpp b/TAO/tests/NestedUpcall/Triangle_Test/Initiator_i.cpp index 50da37278aa..013bb060b3f 100644 --- a/TAO/tests/NestedUpcall/Triangle_Test/Initiator_i.cpp +++ b/TAO/tests/NestedUpcall/Triangle_Test/Initiator_i.cpp @@ -38,7 +38,7 @@ Initiator_i::~Initiator_i (void) void -Initiator_i::foo_object_B (CORBA::Environment &env) +Initiator_i::foo_object_B (CORBA::Environment &) { ACE_DEBUG ((LM_DEBUG, "(%P|%t) BEGIN Initiator_i::foo_object_B ()\n")); diff --git a/TAO/tests/NestedUpcall/Triangle_Test/Object_A_i.cpp b/TAO/tests/NestedUpcall/Triangle_Test/Object_A_i.cpp index 30a0190a43c..8328093e02a 100644 --- a/TAO/tests/NestedUpcall/Triangle_Test/Object_A_i.cpp +++ b/TAO/tests/NestedUpcall/Triangle_Test/Object_A_i.cpp @@ -37,7 +37,7 @@ Object_A_i::~Object_A_i (void) void Object_A_i::foo (Initiator_ptr initiator_ptr, - CORBA::Environment &env) + CORBA::Environment &) { ACE_DEBUG ((LM_DEBUG, "(%P|%t) BEGIN Object_A_i::foo ()\n")); @@ -61,7 +61,7 @@ Object_A_i::foo (Initiator_ptr initiator_ptr, } void -Object_A_i::finish (CORBA::Environment &env) +Object_A_i::finish (CORBA::Environment &) { ACE_DEBUG ((LM_DEBUG, "(%P|%t) BEGIN Object_A_i::finish ()\n")); diff --git a/TAO/tests/NestedUpcall/Triangle_Test/Object_B_i.cpp b/TAO/tests/NestedUpcall/Triangle_Test/Object_B_i.cpp index bd83f80c205..7405b816092 100644 --- a/TAO/tests/NestedUpcall/Triangle_Test/Object_B_i.cpp +++ b/TAO/tests/NestedUpcall/Triangle_Test/Object_B_i.cpp @@ -36,7 +36,7 @@ Object_B_i::~Object_B_i (void) void Object_B_i::foo (Object_A_ptr object_A_ptr, - CORBA::Environment &env) + CORBA::Environment &) { ACE_DEBUG ((LM_DEBUG, "(%P|%t) BEGIN Object_B_i::foo ()\n")); diff --git a/TAO/tests/NestedUpcall/Triangle_Test/initiator.cpp b/TAO/tests/NestedUpcall/Triangle_Test/initiator.cpp index 9c377cab3d2..7753ccd2d77 100644 --- a/TAO/tests/NestedUpcall/Triangle_Test/initiator.cpp +++ b/TAO/tests/NestedUpcall/Triangle_Test/initiator.cpp @@ -224,7 +224,7 @@ Initiator_Server::init (int argc, int -Initiator_Server::run (CORBA::Environment& env) +Initiator_Server::run (CORBA::Environment &) { TAO_TRY { diff --git a/TAO/tests/OctetSeq/OctetSeq.cpp b/TAO/tests/OctetSeq/OctetSeq.cpp index e413db7583a..040ca92a929 100644 --- a/TAO/tests/OctetSeq/OctetSeq.cpp +++ b/TAO/tests/OctetSeq/OctetSeq.cpp @@ -42,7 +42,8 @@ test_write_octet (TAO_OutputCDR &cdr, static int test_read_octet (TAO_InputCDR &cdr, - char* buf, size_t bufsize, + char* /* buf */, + size_t bufsize, CORBA::Environment& env) { Test::OctetSeq os; @@ -61,7 +62,8 @@ test_read_octet (TAO_InputCDR &cdr, static int test_write_char (TAO_OutputCDR &cdr, - char* buf, size_t bufsize, + char* buf, + size_t bufsize, CORBA::Environment& env) { Test::CharSeq cs (bufsize, bufsize, buf); @@ -74,7 +76,8 @@ test_write_char (TAO_OutputCDR &cdr, static int test_read_char (TAO_InputCDR &cdr, - char* buf, size_t bufsize, + char* /* buf */, + size_t bufsize, CORBA::Environment& env) { Test::CharSeq cs; |