mirror of
https://gitlab.isc.org/isc-projects/kea
synced 2025-09-02 15:05:16 +00:00
[1483] Remove unused loop and control variable
Unrelated cleanup.
This commit is contained in:
@@ -230,7 +230,6 @@ Query::addAuthAdditional(ZoneFinder& finder) {
|
|||||||
|
|
||||||
void
|
void
|
||||||
Query::process() {
|
Query::process() {
|
||||||
bool keep_doing = true;
|
|
||||||
const bool qtype_is_any = (qtype_ == RRType::ANY());
|
const bool qtype_is_any = (qtype_ == RRType::ANY());
|
||||||
|
|
||||||
response_.setHeaderFlag(Message::HEADERFLAG_AA, false);
|
response_.setHeaderFlag(Message::HEADERFLAG_AA, false);
|
||||||
@@ -252,8 +251,6 @@ Query::process() {
|
|||||||
// Found a zone which is the nearest ancestor to QNAME, set the AA bit
|
// Found a zone which is the nearest ancestor to QNAME, set the AA bit
|
||||||
response_.setHeaderFlag(Message::HEADERFLAG_AA);
|
response_.setHeaderFlag(Message::HEADERFLAG_AA);
|
||||||
response_.setRcode(Rcode::NOERROR());
|
response_.setRcode(Rcode::NOERROR());
|
||||||
while (keep_doing) {
|
|
||||||
keep_doing = false;
|
|
||||||
std::vector<ConstRRsetPtr> target;
|
std::vector<ConstRRsetPtr> target;
|
||||||
boost::function0<ZoneFinder::FindResult> find;
|
boost::function0<ZoneFinder::FindResult> find;
|
||||||
if (qtype_is_any) {
|
if (qtype_is_any) {
|
||||||
@@ -401,7 +398,6 @@ Query::process() {
|
|||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user