chg; remove compiler warning
This commit is contained in:
@@ -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");
|
||||
|
||||
Reference in New Issue
Block a user