]> git.ipfire.org Git - thirdparty/unbound.git/commitdiff
- Lint fix
authorRalph Dolmans <ralph@nlnetlabs.nl>
Tue, 7 Jun 2016 08:43:30 +0000 (08:43 +0000)
committerRalph Dolmans <ralph@nlnetlabs.nl>
Tue, 7 Jun 2016 08:43:30 +0000 (08:43 +0000)
git-svn-id: file:///svn/unbound/trunk@3765 be551aaa-1e26-0410-a405-d3ace91eadb9

services/localzone.c

index 1f8c63bce4def2bbb92539d155cfa40b2edd2a65..88f9c7a3275997325644a16faa281588f909089d 100644 (file)
@@ -1026,6 +1026,7 @@ local_zones_tags_lookup(struct local_zones* zones,
        rbnode_t* res = NULL;
        struct local_zone *result;
        struct local_zone key;
+       int m;
        key.node.key = &key;
        key.dclass = dclass;
        key.name = name;
@@ -1034,7 +1035,6 @@ local_zones_tags_lookup(struct local_zones* zones,
        rbtree_find_less_equal(&zones->ztree, &key, &res);
        result = (struct local_zone*)res;
        /* exact or smaller element (or no element) */
-       int m;
        if(!result || result->dclass != dclass)
                return NULL;
        /* count number of labels matched */