Add -Werror=implicit-fallthrough to cmake build

This commit is contained in:
RipleyTom 2024-01-07 12:56:08 +01:00 committed by Megamouse
parent 74e084c893
commit 0b984e9a23
9 changed files with 10 additions and 2 deletions

View file

@ -1657,9 +1657,8 @@ static NEVER_INLINE error_code savedata_op(ppu_thread& ppu, u32 operation, u32 v
//CELL_SAVEDATA_RECREATE_NO = overwrite and let the user know, not data is corrupt.
//cellSaveData.error("Savedata %s considered broken", save_entry.dirName);
//TODO: if this is a save, and it's not auto, then show a dialog
// fallthrough
[[fallthrough]];
}
case CELL_SAVEDATA_RECREATE_NO_NOBROKEN:
{
break;