Skip to content

Commit dc91a6d

Browse files
committed
hf_mattyrun: fix compilation error on recent gcc
1 parent 55cef35 commit dc91a6d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

armsrc/Standalone/hf_mattyrun.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -402,7 +402,7 @@ void RunMod(void) {
402402
// Iterates through each sector, checking if there is a correct key
403403
for (uint8_t keyType = 0; keyType < 2 && !err; ++keyType) {
404404
for (uint8_t sec = 0; sec < sectorsCnt && !err; ++sec) {
405-
uint64_t currentKey;
405+
uint64_t currentKey = 0;
406406
Dbprintf("[=] Testing sector %3" PRIu8 " (block %3" PRIu8 ") for key %c",
407407
sec, FirstBlockOfSector(sec), (keyType == 0) ? 'A' : 'B');
408408
int key = saMifareChkKeys(FirstBlockOfSector(sec), keyType, true,

0 commit comments

Comments
 (0)