X-Git-Url: http://git.meshlink.io/?a=blobdiff_plain;f=avahi-daemon%2Fstatic-services.c;h=129063c02e99b8630a75bf55ffe1560bbc79634a;hb=eee711106f721fc73a1ef50348984b7a1d9cb595;hp=5eba8b2059a8f2461e13a75be9ba91b8eaa65a9e;hpb=58dbdd3113ff75b7262ac2e7a8474550a2dacfd3;p=catta diff --git a/avahi-daemon/static-services.c b/avahi-daemon/static-services.c index 5eba8b2..129063c 100644 --- a/avahi-daemon/static-services.c +++ b/avahi-daemon/static-services.c @@ -175,7 +175,7 @@ static void static_service_group_free(StaticServiceGroup *g) { avahi_free(g); } -static void entry_group_callback(AvahiServer *s, AvahiSEntryGroup *eg, AvahiEntryGroupState state, void* userdata) { +static void entry_group_callback(AvahiServer *s, AVAHI_GCC_UNUSED AvahiSEntryGroup *eg, AvahiEntryGroupState state, void* userdata) { StaticServiceGroup *g = userdata; assert(s); @@ -402,7 +402,7 @@ invalid_attr: return; } -static void XMLCALL xml_end(void *data, const char *el) { +static void XMLCALL xml_end(void *data, AVAHI_GCC_UNUSED const char *el) { struct xml_userdata *u = data; assert(u);