We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b452b34 commit a7ee81eCopy full SHA for a7ee81e
libc/src/__support/CPP/mutex.h
@@ -31,7 +31,7 @@ template <typename MutexType> class lock_guard {
31
// Acquires ownership of the mutex object `m` without attempting to lock
32
// it. The behavior is undefined if the current thread does not hold the
33
// lock on `m`. Does not call `m.lock()` upon resource acquisition.
34
- lock_guard(MutexType &m, adopt_lock_t t) : mutex(m) {}
+ lock_guard(MutexType &m, adopt_lock_t /* t */) : mutex(m) {}
35
36
~lock_guard() { mutex.unlock(); }
37
0 commit comments