summaryrefslogtreecommitdiff
path: root/TAO/orbsvcs/tests/ImplRepo/nestea_server.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/orbsvcs/tests/ImplRepo/nestea_server.cpp')
-rw-r--r--TAO/orbsvcs/tests/ImplRepo/nestea_server.cpp5
1 files changed, 1 insertions, 4 deletions
diff --git a/TAO/orbsvcs/tests/ImplRepo/nestea_server.cpp b/TAO/orbsvcs/tests/ImplRepo/nestea_server.cpp
index c8b0795079b..5b3ecd937ab 100644
--- a/TAO/orbsvcs/tests/ImplRepo/nestea_server.cpp
+++ b/TAO/orbsvcs/tests/ImplRepo/nestea_server.cpp
@@ -14,10 +14,7 @@ main (int argc, char *argv[])
ACE_DECLARE_NEW_CORBA_ENV;
ACE_TRY
{
- int retval = server.init (argc, argv, ACE_TRY_ENV);
- ACE_TRY_CHECK;
-
- if (retval == -1)
+ if (server.init (argc, argv, ACE_TRY_ENV) == -1)
return -1;
else
{