Commit bce86892 authored by Libor Peltan's avatar Libor Peltan

fix build warning

parent 6d9a64f8
......@@ -386,7 +386,7 @@ static int recreate_normal_tree(const zone_contents_t *z, zone_contents_t *out)
out->apex = to_fix;
} else {
const knot_dname_t *parname = knot_wire_next_label(to_fix->owner, NULL);
const zone_node_t *parent = get_node(out, parname);
zone_node_t *parent = get_node(out, parname);
assert(parent != NULL);
node_set_parent(to_fix, parent);
Markdown is supported
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