]> xenbits.xensource.com Git - libvirt.git/commitdiff
don't print uninitialized in debug diagnostic
authorJim Meyering <meyering@redhat.com>
Mon, 9 Feb 2009 15:38:06 +0000 (15:38 +0000)
committerJim Meyering <meyering@redhat.com>
Mon, 9 Feb 2009 15:38:06 +0000 (15:38 +0000)
* qemud/mdns.c (libvirtd_mdns_timeout_new): Don't use local, t,
uninitialized.

ChangeLog
qemud/mdns.c

index c537ced63e7d33b40c810f99ea650b37925d261f..200674db8e6b811e1d7ec317139e8dbfce3645a4 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+Mon Feb 9 10:13:28 +0100 2009 Jim Meyering <meyering@redhat.com>
+
+       don't print uninitialized in debug diagnostic
+       * qemud/mdns.c (libvirtd_mdns_timeout_new): Don't use local, t,
+       uninitialized.
+
 Mon Feb 9 16:25:52 +0100 2009 Jim Meyering <meyering@redhat.com>
 
        avoid two test failures induced by today's error-reporting changes
index b13a6e58e3b6792b5e18776ff0dec223e6294498..ae6ff08535be5286cc64918f5634449bd8d7c1a3 100644 (file)
@@ -309,7 +309,7 @@ static AvahiTimeout *libvirtd_mdns_timeout_new(const AvahiPoll *api ATTRIBUTE_UN
     AvahiTimeout *t;
     struct timeval now;
     long long nowms, thenms, timeout;
-    AVAHI_DEBUG("Add timeout %p TV %p", t, tv);
+    AVAHI_DEBUG("Add timeout TV %p", tv);
     if (VIR_ALLOC(t) < 0)
         return NULL;