mirror of
https://github.com/Atmosphere-NX/Atmosphere.git
synced 2025-06-02 23:59:49 -04:00
libstrat: enable -Wextra, -Werror
This caught an embarrassingly large number of bugs.
This commit is contained in:
parent
e1fbf27398
commit
7ca83c9d3b
160 changed files with 691 additions and 152 deletions
|
@ -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:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue