summaryrefslogtreecommitdiff
path: root/src/db/update/InotifySource.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'src/db/update/InotifySource.cxx')
-rw-r--r--src/db/update/InotifySource.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/db/update/InotifySource.cxx b/src/db/update/InotifySource.cxx
index d45764f24..e6508f463 100644
--- a/src/db/update/InotifySource.cxx
+++ b/src/db/update/InotifySource.cxx
@@ -31,7 +31,7 @@
#include <sys/inotify.h>
bool
-InotifySource::OnSocketReady(gcc_unused unsigned flags) noexcept
+InotifySource::OnSocketReady([[maybe_unused]] unsigned flags) noexcept
{
uint8_t buffer[4096];
static_assert(sizeof(buffer) >= sizeof(struct inotify_event) + NAME_MAX + 1,