diff options
Diffstat (limited to 'TAO/orbsvcs/Dump_Schedule/Dump_Schedule.cpp')
-rw-r--r-- | TAO/orbsvcs/Dump_Schedule/Dump_Schedule.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/TAO/orbsvcs/Dump_Schedule/Dump_Schedule.cpp b/TAO/orbsvcs/Dump_Schedule/Dump_Schedule.cpp index 53d99fc4f98..6ee73b8b35b 100644 --- a/TAO/orbsvcs/Dump_Schedule/Dump_Schedule.cpp +++ b/TAO/orbsvcs/Dump_Schedule/Dump_Schedule.cpp @@ -22,9 +22,7 @@ main (int argc, char *argv[]) ACE_TRY_CHECK; CORBA::Object_var naming_obj = - orb->resolve_initial_references ("NameService", ACE_TRY_ENV); - ACE_TRY_CHECK; - + orb->resolve_initial_references ("NameService"); if (CORBA::is_nil(naming_obj.in ())) ACE_ERROR_RETURN ((LM_ERROR, " (%P|%t) Unable to find the Naming Service\n"), |