]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
assignment not read
authorMark Andrews <marka@isc.org>
Mon, 9 Sep 2013 04:05:04 +0000 (14:05 +1000)
committerMark Andrews <marka@isc.org>
Mon, 9 Sep 2013 04:05:04 +0000 (14:05 +1000)
bin/named/query.c

index 6ba509383360f3030c03a45cfdac0aef5dcecb25..3d2dad50ea98bce6141ce09d982d2ba2438c2196 100644 (file)
@@ -6481,8 +6481,6 @@ query_find(ns_client_t *client, dns_fetchevent_t *event, dns_rdatatype_t qtype)
                                    result == DNS_R_NCACHENXDOMAIN)
                                        client->message->rcode =
                                                    dns_rcode_nxdomain;
-                               else
-                                       result = ISC_R_SUCCESS;
                                rpz_log_rewrite(client, ISC_FALSE,
                                                rpz_st->m.policy,
                                                rpz_st->m.type, zone,