mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-01-10 18:24:27 +08:00
chg; remove compiler warning
This commit is contained in:
parent
2d2b128754
commit
24df97b09b
1 changed files with 2 additions and 1 deletions
|
@ -659,8 +659,9 @@ int CmdSmartUpgrade(const char *Cmd) {
|
|||
}
|
||||
|
||||
size_t firmware_size = fread(dump, 1, fsize, f);
|
||||
if (f)
|
||||
if (f) {
|
||||
fclose(f);
|
||||
}
|
||||
|
||||
// load sha512 file
|
||||
f = fopen(sha512filename, "rb");
|
||||
|
|
Loading…
Reference in a new issue