From 9a23f1859e8b54070da3455230d4785542b7d260 Mon Sep 17 00:00:00 2001 From: Natanael Copa Date: Tue, 6 Mar 2012 08:54:22 +0100 Subject: pingu_burst: silence valgrind warning about uninitialized bytes --- pingu_burst.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'pingu_burst.c') diff --git a/pingu_burst.c b/pingu_burst.c index 7e49a96..cdb5306 100644 --- a/pingu_burst.c +++ b/pingu_burst.c @@ -15,7 +15,7 @@ void ping_burst_start(struct ev_loop *loop, struct pingu_host *host) { struct addrinfo hints; - struct addrinfo *ai, *rp; + struct addrinfo *ai = NULL, *rp; int r; char buf[64]; -- cgit v1.2.3