]> git.ipfire.org Git - thirdparty/ldns.git/commitdiff
Fix compile with rcode.
authorW.C.A. Wijngaards <wouter@nlnetlabs.nl>
Thu, 6 Feb 2014 09:33:06 +0000 (10:33 +0100)
committerW.C.A. Wijngaards <wouter@nlnetlabs.nl>
Thu, 6 Feb 2014 09:33:06 +0000 (10:33 +0100)
resolver.c

index 987ca5c5f99ba8bbf31e272cac642f9dd092b0b2..ea5283f6193ed682a93fd697319363e5ada874a6 100644 (file)
@@ -1357,8 +1357,6 @@ ldns_axfr_next(ldns_resolver *resolver)
                                                (int) ldns_pkt_get_rcode(
                                                resolver->_cur_axfr_pkt));
                        }
-#else
-                       (void)rcode; /* Suppress unused warning */
 #endif
 
                        /* we must now also close the socket, otherwise subsequent uses of the