mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-14 10:37:23 -07:00
client should compile without warnings on linux, mac, windows
This commit is contained in:
parent
19d9a7b0ce
commit
759c16b31f
11 changed files with 106 additions and 35 deletions
|
@ -147,7 +147,10 @@ int CmdLFHitagSim(const char *Cmd) {
|
|||
return 1;
|
||||
}
|
||||
tag_mem_supplied = true;
|
||||
fread(c.d.asBytes,48,1,pf);
|
||||
if (fread(c.d.asBytes,48,1,pf) == 0) {
|
||||
PrintAndLog("Error: File reading error");
|
||||
return 1;
|
||||
}
|
||||
fclose(pf);
|
||||
} else {
|
||||
tag_mem_supplied = false;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue