summaryrefslogtreecommitdiff
path: root/kern/rtmutex.c
diff options
context:
space:
mode:
Diffstat (limited to 'kern/rtmutex.c')
-rw-r--r--kern/rtmutex.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/kern/rtmutex.c b/kern/rtmutex.c
index c07bbfef..09637514 100644
--- a/kern/rtmutex.c
+++ b/kern/rtmutex.c
@@ -183,7 +183,7 @@ out:
void
rtmutex_lock_slow(struct rtmutex *rtmutex)
{
- int error;
+ __unused int error;
error = rtmutex_lock_slow_common(rtmutex, false, 0);
assert(!error);