From 24df97b09b705abb1b90878176121c941611f98f Mon Sep 17 00:00:00 2001 From: iceman1001 Date: Fri, 15 Mar 2019 10:00:47 +0100 Subject: [PATCH] chg; remove compiler warning --- client/cmdsmartcard.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/client/cmdsmartcard.c b/client/cmdsmartcard.c index f00fc0907..8d00fa128 100644 --- a/client/cmdsmartcard.c +++ b/client/cmdsmartcard.c @@ -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");