From 49afa23f9532edcaeff1ab6370eaf1245eb10ac1 Mon Sep 17 00:00:00 2001 From: Brad Smith Date: Mon, 22 May 2023 23:34:19 -0400 Subject: [PATCH] Silence AES warning This warning came about after 46ad8b9d68b7eff720a6f33e6029ddd36ab8edaa In file included from /home/ports/pobj/dolphin-5.0.0.20230429/dolphin-5.0.0.20230429/Source/Core/Core/IOS/WFS/WFSI.cpp:4: /home/ports/pobj/dolphin-5.0.0.20230429/dolphin-5.0.0.20230429/Source/Core/Core/IOS/WFS/WFSI.h:54:6: warning: private field 'm_aes_key' is not used [-Wunused-private-field] u8 m_aes_key[0x10] = {}; ^ --- Source/Core/Core/IOS/WFS/WFSI.h | 1 - 1 file changed, 1 deletion(-) diff --git a/Source/Core/Core/IOS/WFS/WFSI.h b/Source/Core/Core/IOS/WFS/WFSI.h index 3abfa5bd9b..4ab92df39e 100644 --- a/Source/Core/Core/IOS/WFS/WFSI.h +++ b/Source/Core/Core/IOS/WFS/WFSI.h @@ -51,7 +51,6 @@ private: std::string m_device_name; std::unique_ptr m_aes_ctx{}; - u8 m_aes_key[0x10] = {}; u8 m_aes_iv[0x10] = {}; ES::TMDReader m_tmd;