forked from mirrors/linphone-iphone
fix(DbSession): do not use L_ASSERT(false) if soci is not enabled in checkTableExists
This commit is contained in:
parent
891df5ff10
commit
f7a0a8d931
1 changed files with 2 additions and 1 deletions
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue