qa: Replace [[fallthrough]] by [[clang::fallthrough]]
[quassel.git] / src / core / sqlitestorage.cpp
index 473f66e..5c483e3 100644 (file)
@@ -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);