fix(DbSession): do not use L_ASSERT(false) if soci is not enabled in checkTableExists

This commit is contained in:
Ronan Abhamon 2018-02-01 11:18:33 +01:00
parent 891df5ff10
commit f7a0a8d931

View file

@ -194,9 +194,10 @@ bool DbSession::checkTableExists (const string &table) const {
case DbSessionPrivate::Backend::None:
return false;
}
L_ASSERT(false);
#endif // ifdef SOCI_ENABLED
L_ASSERT(false);
(void)table;
return false;
}