Skip to content
Snippets Groups Projects
Commit 77935b9b authored by Daniel Salzman's avatar Daniel Salzman
Browse files

rrset: add an assert to mute Coverity

parent 37596612
Branches
Tags
No related merge requests found
......@@ -263,6 +263,8 @@ size_t knot_rrset_size(const knot_rrset_t *rrset)
}
uint16_t rr_count = rrset->rrs.rr_count;
assert(rrset->owner);
size_t total_size = knot_dname_size(rrset->owner) * rr_count;
for (size_t i = 0; i < rr_count; ++i) {
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment