]> git.ipfire.org Git - thirdparty/kea.git/commitdiff
[2431] Remove always-true operand
authorMukund Sivaraman <muks@isc.org>
Mon, 17 Dec 2012 04:03:11 +0000 (09:33 +0530)
committerMukund Sivaraman <muks@isc.org>
Mon, 17 Dec 2012 04:03:11 +0000 (09:33 +0530)
src/lib/dns/master_loader.cc

index b6a5fd5ffe88c9829d041a6a57f5030bddd11c6d..30930ed41ce0b2dbfbb7effd6f1e69a9f130361b 100644 (file)
@@ -173,7 +173,7 @@ private:
 
         // If we couldn't parse TTL earlier in the stream (above), try
         // again at current location.
-        if (!explicit_ttl && rrclass &&
+        if (!explicit_ttl &&
             setCurrentTTL(rrparam_token.getString())) {
             explicit_ttl = true;
             rrparam_token = lexer_.getNextToken(MasterToken::STRING);