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:
Ludovic Rousseau 2013-04-03 17:55:40 +02:00
parent a57793fe5a
commit 7d986844c4
2 changed files with 2 additions and 0 deletions

View file

@ -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:

View file

@ -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: