diff --git a/module/PocoLib/Data.cpp b/module/PocoLib/Data.cpp index b2476652..ca5976b7 100644 --- a/module/PocoLib/Data.cpp +++ b/module/PocoLib/Data.cpp @@ -491,10 +491,8 @@ LightObj SqDataSessionPool::GetSq() { return GteMySQLFromSession(session_impl); } - else - { - STHROWF("Unknown connector type {}", connector); - } + STHROWF("Unknown connector type {}", connector); + SQ_UNREACHABLE } // ------------------------------------------------------------------------------------------------