From: JINMEI Tatuya Date: Fri, 28 Dec 2012 22:10:03 +0000 (-0800) Subject: [2480] added the default case to switch to avoid build error for some compilers X-Git-Tag: bind10-1.0.0-rc-release~95^2~22^2~11^2~7 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=ea8082a263cb6d2b69764da2322b2c483913e5da;p=thirdparty%2Fkea.git [2480] added the default case to switch to avoid build error for some compilers --- diff --git a/src/bin/auth/tests/query_unittest.cc b/src/bin/auth/tests/query_unittest.cc index b5e29237aa..14df6b2f70 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"); } }