mirror of
https://github.com/Atmosphere-NX/Atmosphere.git
synced 2025-06-05 17:14:22 -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
|
@ -57,7 +57,7 @@ namespace ams::diag {
|
|||
}
|
||||
|
||||
#else
|
||||
void DebugLog(const char *format, ...) { /* ... */ }
|
||||
void DebugLog(const char *format, ...) { AMS_UNUSED(format); }
|
||||
#endif
|
||||
|
||||
}
|
||||
|
@ -76,6 +76,8 @@ namespace ams::diag {
|
|||
DebugLogImpl(format, vl);
|
||||
va_end(vl);
|
||||
}
|
||||
#else
|
||||
AMS_UNUSED(format);
|
||||
#endif
|
||||
DebugLog("\n");
|
||||
|
||||
|
@ -108,6 +110,8 @@ namespace ams::diag {
|
|||
DebugLogImpl(format, vl);
|
||||
va_end(vl);
|
||||
}
|
||||
#else
|
||||
AMS_UNUSED(format);
|
||||
#endif
|
||||
DebugLog("\n");
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue