From a38279793abb080a3a1910817d231e2a35046623 Mon Sep 17 00:00:00 2001 From: Philippe Teuwen Date: Fri, 7 Feb 2014 01:22:27 +0100 Subject: [PATCH] cppcheck on nfc-pool: Variable 'res' is assigned a value that is never used --- examples/nfc-poll.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/nfc-poll.c b/examples/nfc-poll.c index 6d64c32..a42c41a 100644 --- a/examples/nfc-poll.c +++ b/examples/nfc-poll.c @@ -150,7 +150,7 @@ main(int argc, const char *argv[]) } printf("Waiting for card removing..."); - while (0 == (res = nfc_initiator_target_is_present(pnd, NULL))) {} + while (0 == nfc_initiator_target_is_present(pnd, NULL)) {} nfc_perror(pnd, "nfc_initiator_target_is_present"); printf("done.\n");