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

@ -18,7 +18,7 @@
namespace ams::crypto {
void GenerateSha256(void *dst, size_t dst_size, const void *src, size_t src_size) {
Sha256Generator gen;
Sha256Generator gen{};
gen.Initialize();
gen.Update(src, src_size);