X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=blobdiff_plain;f=src%2Fcore%2Fsqlitestorage.cpp;h=5c483e3d9b3f444d32cf5a6703aa1da2b4e396ce;hp=473f66e535948e8818e98e6cb9ac813138c651a7;hb=9ba2ca5186c8598e33910a7df95bbdbf812a1a3d;hpb=f5abb30ac6ec8089901d686d9c2ec3387f97aaef diff --git a/src/core/sqlitestorage.cpp b/src/core/sqlitestorage.cpp index 473f66e5..5c483e3d 100644 --- a/src/core/sqlitestorage.cpp +++ b/src/core/sqlitestorage.cpp @@ -1836,7 +1836,7 @@ bool SqliteStorage::safeExec(QSqlQuery &query, int retryCount) switch (query.lastError().number()) { case 5: // SQLITE_BUSY 5 /* The database file is locked */ - [[fallthrough]]; + [[clang::fallthrough]]; case 6: // SQLITE_LOCKED 6 /* A table in the database is locked */ if (retryCount < _maxRetryCount) return safeExec(query, retryCount + 1);