]> git.ipfire.org Git - thirdparty/unbound.git/commitdiff
- Fix compiler warning in dns64/dns64.c.
authorGeorge Thessalonikefs <george@nlnetlabs.nl>
Mon, 2 Mar 2020 10:52:33 +0000 (11:52 +0100)
committerGeorge Thessalonikefs <george@nlnetlabs.nl>
Mon, 2 Mar 2020 10:52:33 +0000 (11:52 +0100)
dns64/dns64.c
doc/Changelog

index 1a569059aff42f398bcc616e216796ccd7353523..5c70119a54de1711f751f189596b626b19f2d2e0 100644 (file)
@@ -227,7 +227,7 @@ ipv4_to_ptr(uint32_t ipv4, char ptr[], size_t nm_len)
     static const char IPV4_PTR_SUFFIX[] = "\07in-addr\04arpa";
     int i;
     char* c = ptr;
-    log_assert(nm_len == MAX_PTR_QNAME_IPV4);
+    log_assert(nm_len == MAX_PTR_QNAME_IPV4); (void)nm_len;
 
     for (i = 0; i < 4; ++i) {
         *c = uitoa((unsigned int)(ipv4 % 256), c + 1);
index b25fd357bdc77211dbb9ca1bad3f18c6c1bc030d..970cbcf15c5e6506287589eb412b762731dc1d7a 100644 (file)
@@ -1,3 +1,6 @@
+2 March 2020: George
+       - Fix compiler warning in dns64/dns64.c
+
 28 February 2020: Ralph
        - Merge PR #172: Add IBM s390x arch for testing, by noloader.