fix switch/case fallthrough

Signed-off-by: Tayou <git@tayou.org>
This commit is contained in:
Tayou
2023-10-22 21:00:52 +02:00
parent cefb96e812
commit 7d5206818b
3 changed files with 6 additions and 0 deletions

View File

@ -186,6 +186,7 @@ bool processPackPNG(const TexturePack& pack)
} else {
return png_invalid(); // pack.png does not exists or is not a valid file.
}
return false;
}
case ResourceType::ZIPFILE: {
Q_ASSERT(pack.type() == ResourceType::ZIPFILE);
@ -215,6 +216,7 @@ bool processPackPNG(const TexturePack& pack)
zip.close();
return png_invalid(); // could not set pack.mcmeta as current file.
}
return false;
}
default:
qWarning() << "Invalid type for resource pack parse task!";