mirror of
https://github.com/NLnetLabs/unbound.git
synced 2026-02-03 20:29:28 -05:00
- Lint fix
git-svn-id: file:///svn/unbound/trunk@3765 be551aaa-1e26-0410-a405-d3ace91eadb9
This commit is contained in:
parent
ff091efe7b
commit
2fc81904c6
1 changed files with 1 additions and 1 deletions
|
|
@ -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 */
|
||||
|
|
|
|||
Loading…
Reference in a new issue