From a8aca4306dcaceefa38f01e2514f2cca722813d7 Mon Sep 17 00:00:00 2001 From: Lioncash Date: Sat, 1 Dec 2018 22:37:51 -0500 Subject: crypto/key_manager: Remove unused variable in GetTicketblob() --- src/core/crypto/key_manager.cpp | 1 - 1 file changed, 1 deletion(-) (limited to 'src') diff --git a/src/core/crypto/key_manager.cpp b/src/core/crypto/key_manager.cpp index 904afa039..291624cbe 100644 --- a/src/core/crypto/key_manager.cpp +++ b/src/core/crypto/key_manager.cpp @@ -246,7 +246,6 @@ std::vector GetTicketblob(const FileUtil::IOFile& ticket_save) { } std::vector out; - u32 magic{}; for (std::size_t offset = 0; offset + 0x4 < buffer.size(); ++offset) { if (buffer[offset] == 0x4 && buffer[offset + 1] == 0x0 && buffer[offset + 2] == 0x1 && buffer[offset + 3] == 0x0) { -- cgit v1.2.3