mirror of
https://github.com/Atmosphere-NX/Atmosphere.git
synced 2025-05-21 10:25:08 -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
|
@ -31,6 +31,7 @@ namespace ams::fs {
|
|||
}
|
||||
|
||||
AbortSpecifier DefaultResultHandler(Result result) {
|
||||
AMS_UNUSED(result);
|
||||
if (g_auto_abort_enabled) {
|
||||
return AbortSpecifier::Default;
|
||||
} else {
|
||||
|
@ -39,6 +40,7 @@ namespace ams::fs {
|
|||
}
|
||||
|
||||
AbortSpecifier AlwaysReturnResultHandler(Result result) {
|
||||
AMS_UNUSED(result);
|
||||
return AbortSpecifier::Return;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue