mirror of
https://github.com/libvirt/libvirt.git
synced 2025-02-25 18:55:26 -06:00
don't print uninitialized in debug diagnostic
* qemud/mdns.c (libvirtd_mdns_timeout_new): Don't use local, t, uninitialized.
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user