qa: Replace [[fallthrough]] by [[clang::fallthrough]]
[quassel.git] / src / core / sqlitestorage.cpp
index a07c2fa..dd51ee3 100644 (file)
@@ -1720,7 +1720,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);