]> git.meshlink.io Git - catta/commitdiff
remove macosx compiler warning
authorLennart Poettering <lennart@poettering.net>
Wed, 12 Oct 2005 21:12:34 +0000 (21:12 +0000)
committerLennart Poettering <lennart@poettering.net>
Wed, 12 Oct 2005 21:12:34 +0000 (21:12 +0000)
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@744 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe

avahi-core/browse.c

index a133c62bdcc5603b39a2c5814115cbd0c4af0c99..639a7cbe75c4f7503bb6f72382ef2bf1c621476d 100644 (file)
@@ -408,7 +408,7 @@ static void lookup_handle_cname(AvahiSRBLookup *l, AvahiIfIndex interface, Avahi
 
 static void lookup_drop_cname(AvahiSRBLookup *l, AvahiIfIndex interface, AvahiProtocol protocol, AvahiLookupFlags flags, AvahiRecord *r) {
     AvahiKey *k;
-    AvahiSRBLookup *n;
+    AvahiSRBLookup *n = NULL;
     AvahiRList *rl;
 
     assert(r->key->clazz == AVAHI_DNS_CLASS_IN);