cppcheck on nfc-pool: Variable 'res' is assigned a value that is never used

This commit is contained in:
Philippe Teuwen 2014-02-07 01:22:27 +01:00
parent 1e4fe3bd27
commit a38279793a

View file

@ -150,7 +150,7 @@ main(int argc, const char *argv[])
} }
printf("Waiting for card removing..."); 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"); nfc_perror(pnd, "nfc_initiator_target_is_present");
printf("done.\n"); printf("done.\n");