From 5c1b99b0487ecfb94a321566b1febd09e526f9b9 Mon Sep 17 00:00:00 2001 From: iceman1001 Date: Tue, 2 Jun 2020 13:01:11 +0200 Subject: [PATCH] cppchecker --- client/src/emv/emvcore.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/client/src/emv/emvcore.c b/client/src/emv/emvcore.c index 3d9d3702f..cb68b9a5d 100644 --- a/client/src/emv/emvcore.c +++ b/client/src/emv/emvcore.c @@ -165,8 +165,7 @@ static void print_cb(void *data, const struct tlv *tlv, int level, bool is_leaf) } bool TLVPrintFromBuffer(uint8_t *data, int datalen) { - struct tlvdb *t = NULL; - t = tlvdb_parse_multi(data, datalen); + struct tlvdb *t = tlvdb_parse_multi(data, datalen); if (t) { PrintAndLogEx(INFO, "-------------------- " _CYAN_("TLV decoded") " --------------------");