- Lint fix

git-svn-id: file:///svn/unbound/trunk@3765 be551aaa-1e26-0410-a405-d3ace91eadb9
This commit is contained in:
Ralph Dolmans 2016-06-07 08:43:30 +00:00
parent ff091efe7b
commit 2fc81904c6

View 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 */