From: Lennart Poettering Date: Mon, 3 Oct 2005 23:35:26 +0000 (+0000) Subject: ### BACKPORT ### X-Git-Url: https://git.meshlink.io/?a=commitdiff_plain;h=cb6f8a5396aa9bc32619ddd74ead4f3ff209d200;p=catta ### BACKPORT ### * remove some compiler warnings sebest found git-svn-id: file:///home/lennart/svn/public/avahi/trunk@689 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe --- diff --git a/avahi-client/resolver.c b/avahi-client/resolver.c index d054ae7..494d3cc 100644 --- a/avahi-client/resolver.c +++ b/avahi-client/resolver.c @@ -160,7 +160,6 @@ fail: return DBUS_HANDLER_RESULT_NOT_YET_HANDLED; } - AvahiServiceResolver * avahi_service_resolver_new( AvahiClient *client, AvahiIfIndex interface, @@ -174,7 +173,7 @@ AvahiServiceResolver * avahi_service_resolver_new( void *userdata) { DBusError error; - AvahiServiceResolver *r; + AvahiServiceResolver *r = NULL; DBusMessage *message = NULL, *reply = NULL; int32_t i_interface, i_protocol, i_aprotocol; uint32_t u_flags; @@ -375,7 +374,7 @@ AvahiHostNameResolver * avahi_host_name_resolver_new( void *userdata) { DBusError error; - AvahiHostNameResolver *r; + AvahiHostNameResolver *r = NULL; DBusMessage *message = NULL, *reply = NULL; int32_t i_interface, i_protocol, i_aprotocol; uint32_t u_flags; @@ -588,7 +587,7 @@ AvahiAddressResolver * avahi_address_resolver_new( void *userdata) { DBusError error; - AvahiAddressResolver *r; + AvahiAddressResolver *r = NULL; DBusMessage *message = NULL, *reply = NULL; int32_t i_interface, i_protocol; uint32_t u_flags;