Warnings: Add UNREACHABLE macros to switches that contemplate all possible values.

This commit is contained in:
Subv 2017-08-19 12:04:40 -05:00
parent 145a7293a3
commit 65f19b51c4
3 changed files with 7 additions and 2 deletions

View file

@ -74,9 +74,9 @@ struct Regs {
case PixelFormat::RGB5A1:
case PixelFormat::RGBA4:
return 2;
default:
UNIMPLEMENTED();
}
UNREACHABLE();
}
INSERT_PADDING_WORDS(0x4);