Permalink
Browse files

ldns: Fix -Winit-self.

  • Loading branch information...
1 parent abd31f7 commit a33294e8031238c383da631bb8e6e83280b07933 Sascha Wildner committed Feb 25, 2014
Showing with 4 additions and 2 deletions.
  1. +3 −1 contrib/ldns/README.DRAGONFLY
  2. +1 −1 contrib/ldns/dnssec_verify.c
@@ -10,5 +10,7 @@ size = 1109941
sha1 = 5b4fc6c5c3078cd061905c47178478cb1015c62a
A list of files and directories removed is in README.DELETED
-There are no local modifications.
+The following files have been patched:
+
+dnssec_verify.c - to silence -Winit-self and not have to lower WARNS
@@ -1596,7 +1596,7 @@ ldns_dnssec_verify_denial_nsec3_match( ldns_rr *rr
ldns_rdf *zone_name;
ldns_rdf *hashed_name;
/* self assignment to suppress uninitialized warning */
- ldns_rdf *next_closer = next_closer;
+ ldns_rdf *next_closer = NULL;
ldns_rdf *hashed_next_closer;
size_t i;
ldns_status result = LDNS_STATUS_DNSSEC_NSEC_RR_NOT_COVERED;

0 comments on commit a33294e

Please sign in to comment.