1
0
Fork 0
forked from suyu/suyu

Merge pull request #1836 from lioncash/unused

crypto/key_manager: Remove unused variable in GetTicketblob()
This commit is contained in:
bunnei 2018-12-04 18:28:15 -05:00 committed by GitHub
commit 173073c722
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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) {