diff options
author | levine <levine@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1998-04-25 13:36:56 +0000 |
---|---|---|
committer | levine <levine@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1998-04-25 13:36:56 +0000 |
commit | c1be7bcaa6a026aa5cc4bb3e3a6fe8aff290aeef (patch) | |
tree | b24d74ec994c7fd05106c05b4e4d99f2c722fc8d | |
parent | f34b790999e4636b5339d276c1fff9c45bd5c25b (diff) | |
download | ATCD-c1be7bcaa6a026aa5cc4bb3e3a6fe8aff290aeef.tar.gz |
added a few .in () dereferences and ACE_UNUSED_ARGs
-rw-r--r-- | TAO/orbsvcs/tests/EC_Multiple/EC_Multiple.cpp | 19 |
1 files changed, 13 insertions, 6 deletions
diff --git a/TAO/orbsvcs/tests/EC_Multiple/EC_Multiple.cpp b/TAO/orbsvcs/tests/EC_Multiple/EC_Multiple.cpp index 9316e32ada7..805fddf418e 100644 --- a/TAO/orbsvcs/tests/EC_Multiple/EC_Multiple.cpp +++ b/TAO/orbsvcs/tests/EC_Multiple/EC_Multiple.cpp @@ -78,7 +78,7 @@ Test_ECG::run (int argc, char* argv[]) " (%P|%t) Cannot activate scavenger.\n"), 1); } - + if (this->short_circuit_ != 0) { if (this->run_short_circuit (orb.in (), @@ -114,6 +114,9 @@ Test_ECG::run_short_circuit (CORBA::ORB_ptr orb, PortableServer::POAManager_ptr poa_manager, CORBA::Environment& _env) { + ACE_UNUSED_ARG (root_poa); + ACE_UNUSED_ARG (poa_manager); + TAO_TRY { ACE_Reactor* reactor = TAO_ORB_Core_instance ()->reactor (); @@ -157,6 +160,8 @@ Test_ECG::run_ec (CORBA::ORB_ptr orb, PortableServer::POAManager_ptr poa_manager, CORBA::Environment& _env) { + ACE_UNUSED_ARG (root_poa); + TAO_TRY { CORBA::Object_var naming_obj = @@ -182,7 +187,7 @@ Test_ECG::run_ec (CORBA::ORB_ptr orb, if (scheduler_impl.get () == 0) return -1; - RtecScheduler::Scheduler_var scheduler = + RtecScheduler::Scheduler_var scheduler = scheduler_impl->_this (TAO_TRY_ENV); TAO_CHECK_ENV; @@ -276,17 +281,17 @@ Test_ECG::run_ec (CORBA::ORB_ptr orb, { rsch_name[0].id = CORBA::string_dup (this->lcl_sch_name_); } - CORBA::Object_var tmpobj = + CORBA::Object_var tmpobj = naming_context->resolve (rsch_name, TAO_TRY_ENV); TAO_CHECK_ENV; - RtecScheduler::Scheduler_var remote_sch = - RtecScheduler::Scheduler::_narrow (tmpobj, TAO_TRY_ENV); + RtecScheduler::Scheduler_var remote_sch = + RtecScheduler::Scheduler::_narrow (tmpobj.in (), TAO_TRY_ENV); TAO_CHECK_ENV; if (this->connect_ecg (local_ec.in (), remote_ec.in (), - remote_sch, + remote_sch.in (), TAO_TRY_ENV) == -1) return 1; @@ -744,6 +749,8 @@ int Test_ECG::handle_timeout (const ACE_Time_Value &tv, const void*) { + ACE_UNUSED_ARG (tv); + this->message_count_--; if (this->message_count_ == 0) { |