]> git.ipfire.org Git - thirdparty/ldns.git/commitdiff
* Fix compile warning by variable initialisation for older gcc.
authorW.C.A. Wijngaards <wouter@nlnetlabs.nl>
Mon, 18 Nov 2019 15:56:47 +0000 (16:56 +0100)
committerW.C.A. Wijngaards <wouter@nlnetlabs.nl>
Mon, 18 Nov 2019 15:56:47 +0000 (16:56 +0100)
Changelog
drill/securetrace.c

index aea953bdc4a0a273afe905fd1811f247947f9df4..3c6e0069da3828e612559b42f1647a410f19a6f1 100644 (file)
--- a/Changelog
+++ b/Changelog
@@ -5,6 +5,7 @@
          ldns_nsec3_salt_data reported by pokerfacett.
        * Fix memory leak in examples/ldns-testns handle_tcp routine.
        * Detect fixed time memory compare for openssl 0.9.8.
+       * Fix compile warning by variable initialisation for older gcc.
 
 1.7.1  2019-07-26
        * bugfix: Manage verification paths for OpenSSL >= 1.1.0
index 6967265de5500cce89b7f8f22ad8268bded48740..94fff8edbeac82056253f5b18c78e6790f749cf7 100644 (file)
@@ -137,7 +137,7 @@ do_secure_trace(ldns_resolver *local_res, ldns_rdf *name, ldns_rr_type t,
        ldns_rr_list *correct_key_list;
        ldns_rr_list *trusted_ds_rrs;
        bool new_keys_trusted = false;
-       ldns_rr_list *current_correct_keys;
+       ldns_rr_list *current_correct_keys = NULL;
        ldns_rr_list *dataset;
 
        ldns_rr_list *nsec_rrs = NULL;