diff options
author | parsons <parsons@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2000-07-31 17:41:42 +0000 |
---|---|---|
committer | parsons <parsons@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2000-07-31 17:41:42 +0000 |
commit | 3c9c67b3e786168d5a57c797b97929f83425e879 (patch) | |
tree | f58e611428bba6bc4ba2234d828c6c416fc27df0 | |
parent | 3afe487e91a77a833c1c0e0f06852dc268698be5 (diff) | |
download | ATCD-3c9c67b3e786168d5a57c797b97929f83425e879.tar.gz |
ChangeLogTag: Mon Jul 31 12:37:23 2000 Jeff Parsons <parsons@cs.wustl.edu>
-rw-r--r-- | TAO/orbsvcs/tests/InterfaceRepo/IFR_Test/Admin_Client.cpp | 15 | ||||
-rw-r--r-- | TAO/orbsvcs/tests/InterfaceRepo/Persistence_Test/Ptest.cpp | 5 |
2 files changed, 20 insertions, 0 deletions
diff --git a/TAO/orbsvcs/tests/InterfaceRepo/IFR_Test/Admin_Client.cpp b/TAO/orbsvcs/tests/InterfaceRepo/IFR_Test/Admin_Client.cpp index b2c0653a633..6263e0300f1 100644 --- a/TAO/orbsvcs/tests/InterfaceRepo/IFR_Test/Admin_Client.cpp +++ b/TAO/orbsvcs/tests/InterfaceRepo/IFR_Test/Admin_Client.cpp @@ -1243,6 +1243,11 @@ Admin_Client::struct_test (CORBA::Environment &ACE_TRY_ENV) ACE_OS::strlen (tmp))); } +#if defined (ACE_NDEBUG) + // ACE_ASSERT macro expands to nothing, so... + ACE_UNUSED_ARG (tmp); +#endif /* ACE_NDEBUG */ + e_var->destroy (ACE_TRY_ENV); ACE_CHECK; svar->destroy (ACE_TRY_ENV); @@ -1849,6 +1854,11 @@ Admin_Client::exception_test (CORBA::Environment &ACE_TRY_ENV) ACE_ASSERT (!ACE_OS::strncmp (str.in (), tmp, ACE_OS::strlen (tmp))); } +#if defined (ACE_NDEBUG) + // ACE_ASSERT macro expands to nothing, so... + ACE_UNUSED_ARG (tmp); +#endif /* ACE_NDEBUG */ + e_var->destroy (ACE_TRY_ENV); ACE_CHECK; exvar->destroy (ACE_TRY_ENV); @@ -2814,6 +2824,11 @@ Admin_Client::move_test (CORBA::Environment &ACE_TRY_ENV) ACE_OS::strlen (base))); } +#if defined (ACE_NDEBUG) + // ACE_ASSERT macro expands to nothing, so... + ACE_UNUSED_ARG (base); +#endif /* ACE_NDEBUG */ + IR::StructMemberSeq_var out_s_members = s_tmp->members (ACE_TRY_ENV); ACE_CHECK; diff --git a/TAO/orbsvcs/tests/InterfaceRepo/Persistence_Test/Ptest.cpp b/TAO/orbsvcs/tests/InterfaceRepo/Persistence_Test/Ptest.cpp index b8a3f9a4eda..b9c2c778e1d 100644 --- a/TAO/orbsvcs/tests/InterfaceRepo/Persistence_Test/Ptest.cpp +++ b/TAO/orbsvcs/tests/InterfaceRepo/Persistence_Test/Ptest.cpp @@ -252,6 +252,11 @@ Ptest::query (CORBA::Environment &ACE_TRY_ENV) ACE_ASSERT (!ACE_OS::strcmp (out_members[i].name, members[i])); } +#if defined (ACE_NDEBUG) + // ACE_ASSERT macro expands to nothing, so... + ACE_UNUSED_ARG (members); +#endif /* ACE_NDEBUG */ + svar->destroy (ACE_TRY_ENV); ACE_CHECK; } |