Fix compiler warnings
doc/quick_start_example1.c:24: warning: unused parameter ‘argc’ doc/quick_start_example2.c:21: warning: unused parameter ‘argc’
This commit is contained in:
parent
a57793fe5a
commit
7d986844c4
2 changed files with 2 additions and 0 deletions
|
@ -38,6 +38,7 @@ main(int argc, const char *argv[])
|
|||
|
||||
// Display libnfc version
|
||||
const char *acLibnfcVersion = nfc_version();
|
||||
(void)argc;
|
||||
printf("%s uses libnfc %s\n", argv[0], acLibnfcVersion);
|
||||
|
||||
// Open, using the first available NFC device which can be in order of selection:
|
||||
|
|
|
@ -35,6 +35,7 @@ main(int argc, const char *argv[])
|
|||
|
||||
// Display libnfc version
|
||||
const char *acLibnfcVersion = nfc_version();
|
||||
(void)argc;
|
||||
printf("%s uses libnfc %s\n", argv[0], acLibnfcVersion);
|
||||
|
||||
// Open, using the first available NFC device which can be in order of selection:
|
||||
|
|
Loading…
Reference in a new issue