BIND 10 trac2480-2, updated. ea8082a263cb6d2b69764da2322b2c483913e5da [2480] added the default case to switch to avoid build error for some compilers

BIND 10 source code commits bind10-changes at lists.isc.org
Fri Dec 28 22:10:42 UTC 2012


The branch, trac2480-2 has been updated
       via  ea8082a263cb6d2b69764da2322b2c483913e5da (commit)
      from  36fea252b03a38a0a86b830bc6a3373a88966413 (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 ea8082a263cb6d2b69764da2322b2c483913e5da
Author: JINMEI Tatuya <jinmei at isc.org>
Date:   Fri Dec 28 14:10:03 2012 -0800

    [2480] added the default case to switch to avoid build error for some compilers

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

Summary of changes:
 src/bin/auth/tests/query_unittest.cc |    3 +++
 1 file changed, 3 insertions(+)

-----------------------------------------------------------------------
diff --git a/src/bin/auth/tests/query_unittest.cc b/src/bin/auth/tests/query_unittest.cc
index b5e2923..14df6b2 100644
--- a/src/bin/auth/tests/query_unittest.cc
+++ b/src/bin/auth/tests/query_unittest.cc
@@ -807,6 +807,9 @@ createDataSrcClientList(DataSrcType type, DataSourceClient& client) {
                                    "/example-base.sqlite3") +
                             "\"}}]"), true);
          return (list);
+    default:
+        isc_throw(isc::Unexpected,
+                  "Unexpected data source type, should be a bug in test code");
     }
 }
 



More information about the bind10-changes mailing list