summaryrefslogtreecommitdiff
path: root/TAO/tests/POA/Destruction/Destruction.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/tests/POA/Destruction/Destruction.cpp')
-rw-r--r--TAO/tests/POA/Destruction/Destruction.cpp6
1 files changed, 2 insertions, 4 deletions
diff --git a/TAO/tests/POA/Destruction/Destruction.cpp b/TAO/tests/POA/Destruction/Destruction.cpp
index f8e80346996..13f0d2c34b0 100644
--- a/TAO/tests/POA/Destruction/Destruction.cpp
+++ b/TAO/tests/POA/Destruction/Destruction.cpp
@@ -56,10 +56,8 @@ main (int argc, char **argv)
ACE_TRY_CHECK;
// Obtain the RootPOA.
- CORBA::Object_var obj =
- orb->resolve_initial_references ("RootPOA",
- ACE_TRY_ENV);
- ACE_TRY_CHECK;
+ CORBA::Object_var obj = orb->resolve_initial_references ("RootPOA",
+ ACE_TRY_ENV);
// Get the POA_var object from Object_var.
PortableServer::POA_var root_poa =