chg; remove compiler warning

This commit is contained in:
iceman1001 2019-03-15 10:00:47 +01:00
parent 2d2b128754
commit 24df97b09b

View file

@ -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");