mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-14 02:27:26 -07:00
hf_mattyrun: fix compilation error on recent gcc
This commit is contained in:
parent
55cef35b1d
commit
dc91a6d1da
1 changed files with 1 additions and 1 deletions
|
@ -402,7 +402,7 @@ void RunMod(void) {
|
|||
// Iterates through each sector, checking if there is a correct key
|
||||
for (uint8_t keyType = 0; keyType < 2 && !err; ++keyType) {
|
||||
for (uint8_t sec = 0; sec < sectorsCnt && !err; ++sec) {
|
||||
uint64_t currentKey;
|
||||
uint64_t currentKey = 0;
|
||||
Dbprintf("[=] Testing sector %3" PRIu8 " (block %3" PRIu8 ") for key %c",
|
||||
sec, FirstBlockOfSector(sec), (keyType == 0) ? 'A' : 'B');
|
||||
int key = saMifareChkKeys(FirstBlockOfSector(sec), keyType, true,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue