From: Chris Hofstaedtler Date: Wed, 27 Jun 2018 13:21:27 +0000 (+0200) Subject: serialtweaker: drop extra check for case that is handled further down X-Git-Tag: dnsdist-1.3.3~65^2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=ff58981c321ccefc24948a5cecfa1409b24da34e;p=thirdparty%2Fpdns.git serialtweaker: drop extra check for case that is handled further down --- diff --git a/pdns/serialtweaker.cc b/pdns/serialtweaker.cc index bd04c344df..094e8a8a31 100644 --- a/pdns/serialtweaker.cc +++ b/pdns/serialtweaker.cc @@ -81,8 +81,6 @@ uint32_t calculateEditSOA(uint32_t old_serial, const string& kind, const DNSName uint32_t calculateEditSOA(uint32_t old_serial, DNSSECKeeper& dk, const DNSName& zonename) { string kind; dk.getSoaEdit(zonename, kind); - if(kind.empty()) - return old_serial; return calculateEditSOA(old_serial, kind, zonename); }