cppcheck on nfc-pool: Variable 'res' is assigned a value that is never used
This commit is contained in:
parent
1e4fe3bd27
commit
a38279793a
1 changed files with 1 additions and 1 deletions
|
@ -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");
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue