From 05c5179b41d66fe9276339dfc73d5885d6c3f6fc Mon Sep 17 00:00:00 2001 From: iceman1001 Date: Tue, 2 Jun 2020 13:00:36 +0200 Subject: [PATCH] cppchecker --- client/src/emv/cmdemv.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/client/src/emv/cmdemv.c b/client/src/emv/cmdemv.c index c69888584..f1e047c15 100644 --- a/client/src/emv/cmdemv.c +++ b/client/src/emv/cmdemv.c @@ -146,9 +146,8 @@ static int CmdEMVSearch(const char *Cmd) { SetAPDULogging(APDULogging); - struct tlvdb *t = NULL; const char *al = "Applets list"; - t = tlvdb_fixed(1, strlen(al), (const unsigned char *)al); + struct tlvdb *t = tlvdb_fixed(1, strlen(al), (const unsigned char *)al); if (EMVSearch(channel, activateField, leaveSignalON, decodeTLV, t)) { tlvdb_free(t);