-static void entry_group_callback(AvahiServer *s, AvahiSEntryGroup *g, AvahiEntryGroupState state, void *userdata) {
+static void entry_group_callback(AvahiServer *s, AvahiSEntryGroup *g, AvahiEntryGroupState state, AVAHI_GCC_UNUSED void *userdata) {
/* Some kind of failure happened while we were registering our services */
avahi_simple_poll_quit(simple_poll);
break;
/* Some kind of failure happened while we were registering our services */
avahi_simple_poll_quit(simple_poll);
break;
/* The serve has startup successfully and registered its host
* name on the network, so it's time to create our services */
/* The serve has startup successfully and registered its host
* name on the network, so it's time to create our services */
* in AVAHI_SERVER_RUNNING state we will register them
* again with the new host name. */
if (group)
avahi_s_entry_group_reset(group);
break;
* in AVAHI_SERVER_RUNNING state we will register them
* again with the new host name. */
if (group)
avahi_s_entry_group_reset(group);
break;