]> git.ipfire.org Git - thirdparty/unbound.git/commitdiff
- init lzt variable, for older gcc compiler warnings.
authorWouter Wijngaards <wouter@nlnetlabs.nl>
Thu, 20 Oct 2016 07:57:12 +0000 (07:57 +0000)
committerWouter Wijngaards <wouter@nlnetlabs.nl>
Thu, 20 Oct 2016 07:57:12 +0000 (07:57 +0000)
git-svn-id: file:///svn/unbound/trunk@3896 be551aaa-1e26-0410-a405-d3ace91eadb9

doc/Changelog
services/localzone.c

index 63ff65aa4b399f32adc8fb6e62ee0b4afc3111e1..e00cd06af04977983d6af9761b5f4461cbbc3a12 100644 (file)
@@ -1,5 +1,6 @@
 20 October 2016: Wouter
        - suppress compile warning in lex files.
+       - init lzt variable, for older gcc compiler warnings.
 
 19 October 2016: Wouter
        - Fix #1130: whitespace in example.conf.in more consistent.
index 898ad7dc6dc31c6426a88cadbb1fe3a02f9b3c46..7d73f37662426e226f1334cc8f022cfca3a487e2 100644 (file)
@@ -1532,7 +1532,7 @@ local_zones_answer(struct local_zones* zones, struct query_info* qinfo,
        int labs = dname_count_labels(qinfo->qname);
        struct local_data* ld = NULL;
        struct local_zone* z = NULL;
-       enum localzone_type lzt;
+       enum localzone_type lzt = local_zone_transparent;
        int r, tag = -1;
 
        if(view) {