mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-01-21 20:15:17 +00: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:
parent
b92d7e761c
commit
3557096d44
@ -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;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user