diff options
author | nanbor <nanbor@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1998-09-09 04:20:30 +0000 |
---|---|---|
committer | nanbor <nanbor@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1998-09-09 04:20:30 +0000 |
commit | 66a5477e40f3dbfe11356ccf17cb1a9bb48fcb9f (patch) | |
tree | 258699b8cda4b9f96db50d7b3c6fdfda872efeec | |
parent | a1ba958793dc293578bfcd7cf661d64a0c619446 (diff) | |
download | ATCD-66a5477e40f3dbfe11356ccf17cb1a9bb48fcb9f.tar.gz |
Changed the do-nothing if statement to ACE_UNUSED_ARG.
-rw-r--r-- | tests/Thread_Mutex_Test.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/Thread_Mutex_Test.cpp b/tests/Thread_Mutex_Test.cpp index 017ab2c4fa2..b37cf748722 100644 --- a/tests/Thread_Mutex_Test.cpp +++ b/tests/Thread_Mutex_Test.cpp @@ -33,8 +33,8 @@ static void * test (void *args) { ACE_Thread_Mutex *mutex = (ACE_Thread_Mutex *) args; - if (! mutex) /* null */; // To suppress ghs warning about unused - // local variable "mutex". + ACE_UNUSED_ARG (mutex); // To suppress ghs warning about unused + // local variable "mutex". ACE_OS::srand (ACE_OS::time (0)); for (size_t i = 0; i < ACE_MAX_ITERATIONS / 2; i++) |