mirror of
https://github.com/NLnetLabs/unbound.git
synced 2026-01-10 16:52:53 -05:00
services/authzone.c: remove redundant check
found by cppcheck services\authzone.c:7513:12: style: Condition 'rrlist[i]' is always true [knownConditionTrueFalse]
This commit is contained in:
parent
fe46bc47d7
commit
cba1350886
1 changed files with 1 additions and 1 deletions
|
|
@ -7510,7 +7510,7 @@ static void add_rrlist_rrsigs_into_data(struct packed_rrset_data* data,
|
|||
size_t j;
|
||||
if(!rrlist[i])
|
||||
continue;
|
||||
if(rrlist[i] && rrlist[i]->type == LDNS_RR_TYPE_ZONEMD &&
|
||||
if(rrlist[i]->type == LDNS_RR_TYPE_ZONEMD &&
|
||||
query_dname_compare(z->name, node->name)==0) {
|
||||
/* omit RRSIGs over type ZONEMD at apex */
|
||||
continue;
|
||||
|
|
|
|||
Loading…
Reference in a new issue