From bb22d87a0146aa7b8e3b20b9014814eb2b467b04 Mon Sep 17 00:00:00 2001 From: 82ghost82 Date: Fri, 17 Oct 2025 15:26:42 +0200 Subject: [PATCH] Fix termux clang 21.1.3 Signed-off-by: 82ghost82 --- client/deps/amiitool/amiibo.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/client/deps/amiitool/amiibo.c b/client/deps/amiitool/amiibo.c index 1d1b1ccff..700a0ce99 100644 --- a/client/deps/amiitool/amiibo.c +++ b/client/deps/amiitool/amiibo.c @@ -72,8 +72,8 @@ bool nfc3d_amiibo_unpack(const nfc3d_amiibo_keys_t *amiiboKeys, const uint8_t *t uint8_t internal[NFC3D_AMIIBO_SIZE] = {0}; - nfc3d_keygen_derivedkeys_t dataKeys; - nfc3d_keygen_derivedkeys_t tagKeys; + nfc3d_keygen_derivedkeys_t dataKeys = {0}; + nfc3d_keygen_derivedkeys_t tagKeys = {0}; // Convert format nfc3d_amiibo_tag_to_internal(tag, internal); @@ -109,8 +109,8 @@ bool nfc3d_amiibo_unpack(const nfc3d_amiibo_keys_t *amiiboKeys, const uint8_t *t void nfc3d_amiibo_pack(const nfc3d_amiibo_keys_t *amiiboKeys, const uint8_t *plain, uint8_t *tag) { uint8_t cipher[NFC3D_AMIIBO_SIZE] = {0}; - nfc3d_keygen_derivedkeys_t tagKeys; - nfc3d_keygen_derivedkeys_t dataKeys; + nfc3d_keygen_derivedkeys_t tagKeys = {0}; + nfc3d_keygen_derivedkeys_t dataKeys = {0}; // Generate keys nfc3d_amiibo_keygen(&amiiboKeys->tag, plain, &tagKeys);