From 4dafd70b64761c8cbf5cac9822ca50bca7266f68 Mon Sep 17 00:00:00 2001 From: Philippe Teuwen Date: Wed, 6 Mar 2013 12:42:39 +0100 Subject: [PATCH] Fix cppcheck warning "Statements following return will never be executed" --- libnfc/drivers/acr122_pcsc.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/libnfc/drivers/acr122_pcsc.c b/libnfc/drivers/acr122_pcsc.c index f8dc9d2..b8337ea 100644 --- a/libnfc/drivers/acr122_pcsc.c +++ b/libnfc/drivers/acr122_pcsc.c @@ -227,9 +227,6 @@ acr122_pcsc_connstring_decode(const nfc_connstring connstring, struct acr122_pcs free(cs); return 2; - - free(cs); - return 3; } static nfc_device *