Skip to content
Snippets Groups Projects
Commit 9117926e authored by Karel Slaný's avatar Karel Slaný
Browse files

Removed redundant memset().

Function edns_add() already calls wire_ctx_clear().
parent 52385c1a
No related branches found
No related tags found
1 merge request!555Unique EDNS options reservation
......@@ -292,7 +292,6 @@ int knot_edns_reserve_option(knot_rrset_t *opt_rr, uint16_t code,
return KNOT_ENOMEM;
}
memset(wire, 0, size);
if (wire_ptr) {
*wire_ptr = wire;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment