mirror of
https://github.com/nfc-tools/libnfc.git
synced 2026-03-12 18:43:47 +00:00
cppcheck on nfc-pool: Variable 'res' is assigned a value that is never used
This commit is contained in:
@@ -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");
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user