libstrat: enable -Wextra, -Werror
This caught an embarrassingly large number of bugs.
This commit is contained in:
@@ -37,6 +37,10 @@ namespace ams::capsrv::server::jpeg {
|
||||
}
|
||||
|
||||
static Result GetResult(int msg_code, int msg_param) {
|
||||
/* NOTE: Nintendo uses msg_param for error codes that we never trigger. */
|
||||
/* TODO: Fully support all J_MESSAGE_CODEs that Nintendo handles? */
|
||||
AMS_UNUSED(msg_param);
|
||||
|
||||
switch (msg_code) {
|
||||
case JpegLibraryType::J_MESSAGE_CODE::JERR_BUFFER_SIZE:
|
||||
case JpegLibraryType::J_MESSAGE_CODE::JERR_NO_BACKING_STORE:
|
||||
|
||||
Reference in New Issue
Block a user