It's just a few lines apart. It's been generating lots of noise
in CI lint:clang-scan-build.
return KR_STATE_PRODUCE;
}
- const knot_dname_t *wanted_name = qry->sname;
const knot_dname_t *start_name = qry->sname;
if ((qry->flags.AWAIT_CUT) && !resume) {
qry->flags.AWAIT_CUT = false;
return KR_STATE_DONE;
}
- bool nods = false;
- bool ds_req = false;
- bool ns_req = false;
- bool ns_exist = true;
- bool minimized = false;
int name_offset = 1;
+ const knot_dname_t *wanted_name;
+ bool nods, ds_req, ns_req, minimized, ns_exist;
do {
wanted_name = start_name;
nods = false;