Commit e87c36a4 authored by Vladimír Čunát's avatar Vladimír Čunát

resolve write_extra_ranked_records: fix hiding and error

Detected by clang as dead store.
parent 5f3c4fb7
......@@ -497,7 +497,7 @@ static int write_extra_ranked_records(const ranked_rr_array_t *arr, knot_pkt_t *
continue;
}
}
int err = knot_pkt_put(answer, 0, rr, 0);
err = knot_pkt_put(answer, 0, rr, 0);
if (err != KNOT_EOK) {
if (err == KNOT_ESPACE) {
err = kr_ok();
......
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