summaryrefslogtreecommitdiff
path: root/TAO/examples/POA/Identity/Identity.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/examples/POA/Identity/Identity.cpp')
-rw-r--r--TAO/examples/POA/Identity/Identity.cpp6
1 files changed, 0 insertions, 6 deletions
diff --git a/TAO/examples/POA/Identity/Identity.cpp b/TAO/examples/POA/Identity/Identity.cpp
index dba044d394d..1b3673abd0d 100644
--- a/TAO/examples/POA/Identity/Identity.cpp
+++ b/TAO/examples/POA/Identity/Identity.cpp
@@ -84,14 +84,12 @@ create_poas (PortableServer::POA_ptr root_poa,
PortableServer::POAManager::_nil (),
policies,
ACE_TRY_ENV);
- ACE_CHECK;
policies[2]->destroy (ACE_TRY_ENV);
ACE_CHECK;
policies[2] = root_poa->create_id_assignment_policy (PortableServer::USER_ID,
ACE_TRY_ENV);
- ACE_CHECK;
// Creation of the thirdPOA
name = "thirdPOA";
@@ -106,7 +104,6 @@ create_poas (PortableServer::POA_ptr root_poa,
policies[1] = root_poa->create_id_uniqueness_policy (PortableServer::MULTIPLE_ID,
ACE_TRY_ENV);
- ACE_CHECK;
// Creation of the forthPOA
name = "forthPOA";
@@ -114,7 +111,6 @@ create_poas (PortableServer::POA_ptr root_poa,
PortableServer::POAManager::_nil (),
policies,
ACE_TRY_ENV);
- ACE_CHECK;
// Creation of the new POAs over, so destroy the policies
for (CORBA::ULong i = 0;
@@ -752,10 +748,8 @@ main (int argc, char **argv)
{
ACE_PRINT_EXCEPTION (ACE_ANY_EXCEPTION,
"Exception!");
- return -1;
}
ACE_ENDTRY;
- ACE_CHECK_RETURN (-1);
return 0;
}