]> git.ipfire.org Git - thirdparty/kea.git/commitdiff
[2480] added the default case to switch to avoid build error for some compilers
authorJINMEI Tatuya <jinmei@isc.org>
Fri, 28 Dec 2012 22:10:03 +0000 (14:10 -0800)
committerJINMEI Tatuya <jinmei@isc.org>
Fri, 28 Dec 2012 22:10:03 +0000 (14:10 -0800)
src/bin/auth/tests/query_unittest.cc

index b5e29237aaecef11e3471673b1c73b6db45f1884..14df6b2f70c6cd2054e9134acdbbb7c1753876b5 100644 (file)
@@ -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");
     }
 }