rfc2136handler.cc: In member function ‘uint16_t PacketHandler::performUpdate(const string&, const DNSRecord*, DomainInfo*, bool, bool*, bool*, NSEC3PARAMRecordContent*, bool*)’:
rfc2136handler.cc:475:14: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wparentheses]
else
foundEnt = true;
}
- if (!foundRealRR)
+ if (!foundRealRR) {
if (foundEnt) // only delete the ENT if we actually found one.
delnonterm.insert(shorter);
- else
+ } else
break;
}
}