ams: address some warnings when building with gcc-12

This commit is contained in:
Michael Scire 2022-05-07 17:09:22 -07:00
parent a809e23320
commit a975689c59
4 changed files with 6 additions and 4 deletions

View file

@ -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. */