BIND 10 trac2565, updated. 5ec876c98d10dfdb0675ffcde709b5ce9871465b [2565] style cleanups: constify; combine short lines

BIND 10 source code commits bind10-changes at lists.isc.org
Wed Dec 26 18:10:38 UTC 2012


The branch, trac2565 has been updated
       via  5ec876c98d10dfdb0675ffcde709b5ce9871465b (commit)
      from  09dc37b8319af571d2e7afb0bf5b6da82cd174f6 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 5ec876c98d10dfdb0675ffcde709b5ce9871465b
Author: JINMEI Tatuya <jinmei at isc.org>
Date:   Wed Dec 26 10:10:31 2012 -0800

    [2565] style cleanups: constify; combine short lines

-----------------------------------------------------------------------

Summary of changes:
 src/lib/dns/master_loader.cc |    5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

-----------------------------------------------------------------------
diff --git a/src/lib/dns/master_loader.cc b/src/lib/dns/master_loader.cc
index 02b513e..4135a3b 100644
--- a/src/lib/dns/master_loader.cc
+++ b/src/lib/dns/master_loader.cc
@@ -210,7 +210,7 @@ private:
             // after the RR class below.
         }
 
-        MaybeRRClass rrclass =
+        const MaybeRRClass rrclass =
             RRClass::createFromText(rrparam_token.getString());
         if (rrclass) {
             if (rrclass != zone_class_) {
@@ -224,8 +224,7 @@ private:
 
         // If we couldn't parse TTL earlier in the stream (above), try
         // again at current location.
-        if (!explicit_ttl &&
-            setCurrentTTL(rrparam_token.getString())) {
+        if (!explicit_ttl && setCurrentTTL(rrparam_token.getString())) {
             explicit_ttl = true;
             rrparam_token = lexer_.getNextToken(MasterToken::STRING);
         }



More information about the bind10-changes mailing list