]> git.meshlink.io Git - catta/commitdiff
### BACKPORT ###
authorLennart Poettering <lennart@poettering.net>
Mon, 3 Oct 2005 23:35:26 +0000 (23:35 +0000)
committerLennart Poettering <lennart@poettering.net>
Mon, 3 Oct 2005 23:35:26 +0000 (23:35 +0000)
* remove some compiler warnings sebest found

git-svn-id: file:///home/lennart/svn/public/avahi/trunk@689 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe

avahi-client/resolver.c

index d054ae773a70c244b356f224658d697b1fe56c5c..494d3cce7aa5ff4866a357e9f8ed742d31557e46 100644 (file)
@@ -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;