]> granicus.if.org Git - libevent/commitdiff
Fix some "value never used" warnings with gcc 4.6.1
authorNick Mathewson <nickm@torproject.org>
Mon, 3 Oct 2011 16:49:02 +0000 (12:49 -0400)
committerNick Mathewson <nickm@torproject.org>
Mon, 3 Oct 2011 16:49:02 +0000 (12:49 -0400)
evdns.c

diff --git a/evdns.c b/evdns.c
index 6b50169871c7f8fcfdd99e557248e9a8ca5e7e84..1550fe8f163608f43125cc9b8bb44ae9f594b0e2 100644 (file)
--- a/evdns.c
+++ b/evdns.c
@@ -1143,6 +1143,10 @@ reply_parse(struct evdns_base *base, u8 *packet, int length) {
                                GET32(retry);
                                GET32(expire);
                                GET32(minimum);
+                               (void)expire;
+                               (void)retry;
+                               (void)refresh;
+                               (void)serial;
                                ttl_r = MIN(ttl_r, ttl);
                                ttl_r = MIN(ttl_r, minimum);
                        } else {