diff options
author | levine <levine@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1998-01-05 01:46:48 +0000 |
---|---|---|
committer | levine <levine@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1998-01-05 01:46:48 +0000 |
commit | edd34c5cf54a11ceebbaa7a1dcf8046b08731150 (patch) | |
tree | db52741ffdf936b73a182173a8758a0ccbf4facc /ace/OS.i | |
parent | 55d83f8d5cdee14b871e8c85f7904ba0372b1f93 (diff) | |
download | ATCD-edd34c5cf54a11ceebbaa7a1dcf8046b08731150.tar.gz |
*** empty log message ***
Diffstat (limited to 'ace/OS.i')
-rw-r--r-- | ace/OS.i | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -3310,7 +3310,7 @@ ACE_OS::rw_unlock (ACE_rwlock_t *rw) rw->ref_count_ = 0; else return -1; // @@ ACE_ASSERT (!"count should not be 0!\n"); - + int result; int error = 0; @@ -3375,6 +3375,7 @@ ACE_OS::rw_trywrlock_upgrade (ACE_rwlock_t *rw) if (result != -1 || errno == EBUSY) ACE_OS::mutex_unlock (&rw->lock_); #else + ACE_UNUSED_ARG (rw); errno = EBUSY; return -1; #endif /* 0 */ |