Skip to content

Commit a7ee81e

Browse files
committed
[libc] Remove unused variable causing build errors
1 parent b452b34 commit a7ee81e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

libc/src/__support/CPP/mutex.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ template <typename MutexType> class lock_guard {
3131
// Acquires ownership of the mutex object `m` without attempting to lock
3232
// it. The behavior is undefined if the current thread does not hold the
3333
// lock on `m`. Does not call `m.lock()` upon resource acquisition.
34-
lock_guard(MutexType &m, adopt_lock_t t) : mutex(m) {}
34+
lock_guard(MutexType &m, adopt_lock_t /* t */) : mutex(m) {}
3535

3636
~lock_guard() { mutex.unlock(); }
3737

0 commit comments

Comments
 (0)