commit | cc9b94ac943caaa0292ca047a63f64a382d85d80 | [log] [tgz] |
---|---|---|
author | William Lallemand <wlallemand@haproxy.com> | Thu Jun 08 19:30:39 2017 +0200 |
committer | Willy Tarreau <w@1wt.eu> | Thu Jun 08 20:09:02 2017 +0200 |
tree | e27498c91a9c2f9bd1e9ac2545372f172a456c92 | |
parent | cf4e496c9c80ad96aff47e4d8cf318be429165f7 [diff] |
BUG/MINOR: warning: ‘need_resend’ may be used uninitialized The commit 201c07f68 ("MAJOR/REORG: dns: DNS resolution task and requester queues") introduces a warning during compilation: src/dns.c: In function ‘dns_resolve_recv’: src/dns.c:487:6: warning: ‘need_resend’ may be used uninitialized in this function [-Wmaybe-uninitialized] if (need_resend) { ^ This patch initialize the variable and remove the comment about it.