From c6902245f058581c84bd06eacfd12433526c0d74 Mon Sep 17 00:00:00 2001 From: iceman1001 Date: Fri, 16 Oct 2020 17:22:12 +0200 Subject: [PATCH] fix coverity --- client/src/cmdhfmfu.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/client/src/cmdhfmfu.c b/client/src/cmdhfmfu.c index bda3d5732..6437d11eb 100644 --- a/client/src/cmdhfmfu.c +++ b/client/src/cmdhfmfu.c @@ -3071,7 +3071,7 @@ static int counter_reset_tear(iso14a_card_select_t *card, uint8_t cnt_no) { PrintAndLogEx(FAILED, "failed to select card, exiting..."); return PM3_ESOFT; } - if (ul_send_cmd_raw(cw, sizeof(cw), resp, sizeof(resp) < 0)) { + if (ul_send_cmd_raw(cw, sizeof(cw), resp, sizeof(resp)) < 0) { PrintAndLogEx(FAILED, "failed to write all ZEROS"); return PM3_ESOFT; } @@ -3452,7 +3452,6 @@ static int CmdHF14AMfuEv1CounterTearoff(const char *Cmd) { return PM3_SUCCESS; } - static int CmdHF14MfuNDEF(const char *Cmd) { int keylen;