diff --git a/src/libipc/waiter.h b/src/libipc/waiter.h index 2e13dc3..ce4e592 100644 --- a/src/libipc/waiter.h +++ b/src/libipc/waiter.h @@ -62,12 +62,12 @@ public: } bool notify() noexcept { - std::lock_guard{lock_}; // barrier + { IPC_UNUSED_ std::lock_guard guard{lock_}; } // barrier return cond_.notify(lock_); } bool broadcast() noexcept { - std::lock_guard{lock_}; // barrier + { IPC_UNUSED_ std::lock_guard guard{lock_}; } // barrier return cond_.broadcast(lock_); }