mirror of
https://github.com/Atmosphere-NX/Atmosphere.git
synced 2025-05-25 20:24:21 -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
|
@ -27,6 +27,7 @@ namespace ams::ncm {
|
|||
}
|
||||
|
||||
Result PackageInstallTask::GetInstallContentMetaInfo(InstallContentMetaInfo *out_info, const ContentMetaKey &key) {
|
||||
AMS_UNUSED(out_info, key);
|
||||
return ncm::ResultContentNotFound();
|
||||
}
|
||||
|
||||
|
@ -41,7 +42,7 @@ namespace ams::ncm {
|
|||
s64 count;
|
||||
fs::DirectoryEntry entry;
|
||||
R_TRY(fs::ReadDirectory(std::addressof(count), std::addressof(entry), dir, 1));
|
||||
|
||||
|
||||
/* No more entries remain, we are done. */
|
||||
if (count == 0) {
|
||||
break;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue