ams: basic support for compiling with gcc 16
This commit is contained in:
@@ -47,7 +47,7 @@ namespace ams::hos {
|
||||
#endif
|
||||
|
||||
exosphere::ApiInfo GetExosphereApiInfo(bool allow_approximate) {
|
||||
exosphere::ApiInfo info;
|
||||
exosphere::ApiInfo info = exosphere::ApiInfo{ util::BitPack64{0} };
|
||||
#if defined(ATMOSPHERE_OS_HORIZON)
|
||||
while (true) {
|
||||
if (R_SUCCEEDED(GetExosphereApiInfo(std::addressof(info)))) {
|
||||
|
||||
@@ -220,6 +220,9 @@ namespace ams::ncm {
|
||||
|
||||
/* Assert that we copied the right number of infos. */
|
||||
AMS_ASSERT(count == fragment_count);
|
||||
|
||||
/* TODO: Unused variable. */
|
||||
AMS_UNUSED(count);
|
||||
|
||||
R_SUCCEED();
|
||||
}
|
||||
@@ -432,6 +435,9 @@ namespace ams::ncm {
|
||||
|
||||
/* Assert that we copied the right number of infos. */
|
||||
AMS_ASSERT(count == fragment_count);
|
||||
|
||||
/* TODO: Unused variable. */
|
||||
AMS_UNUSED(count);
|
||||
|
||||
R_SUCCEED();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user