mirror of
https://github.com/yuzu-mirror/yuzu.git
synced 2024-11-18 00:47:33 +01:00
Merge pull request #1836 from lioncash/unused
crypto/key_manager: Remove unused variable in GetTicketblob()
This commit is contained in:
commit
173073c722
@ -246,7 +246,6 @@ std::vector<TicketRaw> GetTicketblob(const FileUtil::IOFile& ticket_save) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
std::vector<TicketRaw> out;
|
std::vector<TicketRaw> out;
|
||||||
u32 magic{};
|
|
||||||
for (std::size_t offset = 0; offset + 0x4 < buffer.size(); ++offset) {
|
for (std::size_t offset = 0; offset + 0x4 < buffer.size(); ++offset) {
|
||||||
if (buffer[offset] == 0x4 && buffer[offset + 1] == 0x0 && buffer[offset + 2] == 0x1 &&
|
if (buffer[offset] == 0x4 && buffer[offset + 1] == 0x0 && buffer[offset + 2] == 0x1 &&
|
||||||
buffer[offset + 3] == 0x0) {
|
buffer[offset + 3] == 0x0) {
|
||||||
|
Loading…
Reference in New Issue
Block a user