ams: address some warnings when building with gcc-12
This commit is contained in:
@@ -843,7 +843,7 @@ namespace ams::ncm {
|
||||
R_SUCCEED_IF(m_header.has_value());
|
||||
|
||||
/* Get our header. */
|
||||
PatchMetaExtendedDataHeader header;
|
||||
PatchMetaExtendedDataHeader header{};
|
||||
R_TRY(this->GetHeader(std::addressof(header)));
|
||||
|
||||
/* Set our header. */
|
||||
|
||||
@@ -148,6 +148,8 @@ init_libnx_shim.os.horizon.o: CXXFLAGS += -fno-lto
|
||||
|
||||
result_get_name.o: CXXFLAGS += -fno-lto
|
||||
|
||||
crypto_sha256_generator.o: CXXFLAGS += -fno-lto
|
||||
|
||||
spl_secure_monitor_api.os.generic.o: CXXFLAGS += -I$(ATMOSPHERE_LIBRARIES_DIR)/libexosphere/include
|
||||
fs_id_string_impl.os.generic.o: CXXFLAGS += -I$(ATMOSPHERE_LIBRARIES_DIR)/libexosphere/include
|
||||
|
||||
|
||||
Reference in New Issue
Block a user