summaryrefslogtreecommitdiffstats
path: root/src/core/crypto
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2018-12-05 00:28:15 +0100
committerGitHub <noreply@github.com>2018-12-05 00:28:15 +0100
commit173073c7227e6dbbd65fa1c84d3841c63a1f795b (patch)
treebc99ceb587247958082183c75a052c301aac52d9 /src/core/crypto
parentMerge pull request #1860 from lioncash/event (diff)
parentcrypto/key_manager: Remove unused variable in GetTicketblob() (diff)
downloadyuzu-173073c7227e6dbbd65fa1c84d3841c63a1f795b.tar
yuzu-173073c7227e6dbbd65fa1c84d3841c63a1f795b.tar.gz
yuzu-173073c7227e6dbbd65fa1c84d3841c63a1f795b.tar.bz2
yuzu-173073c7227e6dbbd65fa1c84d3841c63a1f795b.tar.lz
yuzu-173073c7227e6dbbd65fa1c84d3841c63a1f795b.tar.xz
yuzu-173073c7227e6dbbd65fa1c84d3841c63a1f795b.tar.zst
yuzu-173073c7227e6dbbd65fa1c84d3841c63a1f795b.zip
Diffstat (limited to 'src/core/crypto')
-rw-r--r--src/core/crypto/key_manager.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/core/crypto/key_manager.cpp b/src/core/crypto/key_manager.cpp
index ed231927b..ca12fb4ab 100644
--- a/src/core/crypto/key_manager.cpp
+++ b/src/core/crypto/key_manager.cpp
@@ -246,7 +246,6 @@ std::vector<TicketRaw> GetTicketblob(const FileUtil::IOFile& ticket_save) {
}
std::vector<TicketRaw> 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) {