BIND 10 trac2375, updated. 6d1bc86b2cb43819564cf936290f514b6d4e42bf [2375] Throw for unknown state ID in debug method

BIND 10 source code commits bind10-changes at lists.isc.org
Mon Nov 12 16:40:32 UTC 2012


The branch, trac2375 has been updated
       via  6d1bc86b2cb43819564cf936290f514b6d4e42bf (commit)
      from  3446f7e74be156440c4e6b0333955b4c84e5443f (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 6d1bc86b2cb43819564cf936290f514b6d4e42bf
Author: Michal 'vorner' Vaner <michal.vaner at nic.cz>
Date:   Mon Nov 12 17:34:10 2012 +0100

    [2375] Throw for unknown state ID in debug method
    
    This is just to make it compile. Such case should not happen anyway.

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

Summary of changes:
 src/lib/dns/master_lexer.cc |    2 ++
 1 file changed, 2 insertions(+)

-----------------------------------------------------------------------
diff --git a/src/lib/dns/master_lexer.cc b/src/lib/dns/master_lexer.cc
index 655e537..d5da077 100644
--- a/src/lib/dns/master_lexer.cc
+++ b/src/lib/dns/master_lexer.cc
@@ -217,6 +217,8 @@ State::getInstance(ID state_id) {
         return (CRLF_STATE);
     case String:
         return (STRING_STATE);
+    default:
+        isc_throw(isc::NotImplemented, "Unknown state ID");
     }
 }
 



More information about the bind10-changes mailing list