diff options
author | nanbor <nanbor@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1998-09-09 04:20:57 +0000 |
---|---|---|
committer | nanbor <nanbor@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1998-09-09 04:20:57 +0000 |
commit | 83da3c5063a5563f6f319ba10b2ecaa8aa742170 (patch) | |
tree | d0b029928ae4cbc62a1dc4d84167c24c545ca700 | |
parent | 66a5477e40f3dbfe11356ccf17cb1a9bb48fcb9f (diff) | |
download | ATCD-83da3c5063a5563f6f319ba10b2ecaa8aa742170.tar.gz |
*** empty log message ***
-rw-r--r-- | ChangeLog-98b | 7 | ||||
-rw-r--r-- | tests/Priority_Buffer_Test.cpp | 4 |
2 files changed, 9 insertions, 2 deletions
diff --git a/ChangeLog-98b b/ChangeLog-98b index 563a8c64920..abc007937bf 100644 --- a/ChangeLog-98b +++ b/ChangeLog-98b @@ -1,3 +1,10 @@ +Tue Sep 8 23:17:11 1998 Nanbor Wang <nanbor@cs.wustl.edu> + + * tests/Thread_Mutex_Test.cpp (test): + * tests/Priority_Buffer_Test.cpp (consumer): Changed the + do-nothing if statements to ACE_UNUSED_ARG because NT doesn't + like that. Thanks to David for clarifying this. + Tue Sep 8 21:45:32 1998 Nanbor Wang <nanbor@cs.wustl.edu> * *.{dsp,dsw}: Updated for VC 6. diff --git a/tests/Priority_Buffer_Test.cpp b/tests/Priority_Buffer_Test.cpp index 42ebe0fa68b..d3c7b7e6522 100644 --- a/tests/Priority_Buffer_Test.cpp +++ b/tests/Priority_Buffer_Test.cpp @@ -49,8 +49,8 @@ consumer (void *args) ACE_Message_Queue<ACE_MT_SYNCH> *msg_queue = (ACE_Message_Queue<ACE_MT_SYNCH> *) args; u_long cur_priority = 27; - if (! cur_priority) /* null */; // To suppress ghs warning about unused - // local variable "cur_priority". + ACE_UNUSED_ARG (cur_priority); // To suppress ghs warning about unused + // local variable "cur_priority". int local_count = 0; |