From: Mukund Sivaraman Date: Mon, 17 Dec 2012 04:03:11 +0000 (+0530) Subject: [2431] Remove always-true operand X-Git-Tag: bind10-1.0.0-beta-release~13^2~9 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=88dd03a0064c14a1608b6be9e4cff5d5cee7643f;p=thirdparty%2Fkea.git [2431] Remove always-true operand --- diff --git a/src/lib/dns/master_loader.cc b/src/lib/dns/master_loader.cc index b6a5fd5ffe..30930ed41c 100644 --- a/src/lib/dns/master_loader.cc +++ b/src/lib/dns/master_loader.cc @@ -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);