Merge pull request #1128 from pandaninjas/fix-implicit-fallthrough

This commit is contained in:
Sefa Eyeoglu
2023-07-07 15:19:00 +02:00
parent bab7105820
commit 6f1d594f1c
15 changed files with 45 additions and 35 deletions

View File

@ -470,8 +470,9 @@ void FlameCreationTask::setupDownloadJob(QEventLoop& loop)
switch (result.type) {
case Flame::File::Type::Folder: {
logWarning(tr("This 'Folder' may need extracting: %1").arg(relpath));
// fall-through intentional, we treat these as plain old mods and dump them wherever.
// fallthrough intentional, we treat these as plain old mods and dump them wherever.
}
/* fallthrough */
case Flame::File::Type::SingleFile:
case Flame::File::Type::Mod: {
if (!result.url.isEmpty()) {