diff options
Diffstat (limited to 'src/zeroconf/ZeroconfAvahi.cxx')
-rw-r--r-- | src/zeroconf/ZeroconfAvahi.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/zeroconf/ZeroconfAvahi.cxx b/src/zeroconf/ZeroconfAvahi.cxx index a5465f5fb..8f983bc93 100644 --- a/src/zeroconf/ZeroconfAvahi.cxx +++ b/src/zeroconf/ZeroconfAvahi.cxx @@ -49,7 +49,7 @@ AvahiRegisterService(AvahiClient *c); static void AvahiGroupCallback(AvahiEntryGroup *g, AvahiEntryGroupState state, - gcc_unused void *userdata) + [[maybe_unused]] void *userdata) { assert(g != nullptr); @@ -149,7 +149,7 @@ AvahiRegisterService(AvahiClient *c) /* Callback when avahi changes state */ static void MyAvahiClientCallback(AvahiClient *c, AvahiClientState state, - gcc_unused void *userdata) + [[maybe_unused]] void *userdata) { assert(c != nullptr); |