summaryrefslogtreecommitdiff
path: root/ace/OS.i
diff options
context:
space:
mode:
authorlevine <levine@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1998-01-05 01:46:48 +0000
committerlevine <levine@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1998-01-05 01:46:48 +0000
commitedd34c5cf54a11ceebbaa7a1dcf8046b08731150 (patch)
treedb52741ffdf936b73a182173a8758a0ccbf4facc /ace/OS.i
parent55d83f8d5cdee14b871e8c85f7904ba0372b1f93 (diff)
downloadATCD-edd34c5cf54a11ceebbaa7a1dcf8046b08731150.tar.gz
*** empty log message ***
Diffstat (limited to 'ace/OS.i')
-rw-r--r--ace/OS.i3
1 files changed, 2 insertions, 1 deletions
diff --git a/ace/OS.i b/ace/OS.i
index d87f951bd8b..3054863209f 100644
--- a/ace/OS.i
+++ b/ace/OS.i
@@ -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 */