summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon Kelley <simon@thekelleys.org.uk>2015-04-03 21:42:30 +0100
committerSimon Kelley <simon@thekelleys.org.uk>2015-04-03 21:42:30 +0100
commit982faf402487e265ed11ac03524531d42b03c966 (patch)
treed7cfce07c24a10b2f4918a989ea8c1148632963c
parentfe3992f9fa69fa975ea31919c53933b5f6a63527 (diff)
downloaddnsmasq-982faf402487e265ed11ac03524531d42b03c966.tar.gz
Fix compiler warning when not including DNSSEC.
-rw-r--r--src/forward.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/forward.c b/src/forward.c
index e8cf615..3f6b9a2 100644
--- a/src/forward.c
+++ b/src/forward.c
@@ -530,7 +530,8 @@ static size_t process_reply(struct dns_header *header, time_t now, struct server
size_t plen;
(void)ad_reqd;
- (void) do_bit;
+ (void)do_bit;
+ (void)bogusanswer;
#ifdef HAVE_IPSET
if (daemon->ipsets && extract_request(header, n, daemon->namebuff, NULL))