From 7d986844c433b5f1ee0f149e6d407fec2ff210bf Mon Sep 17 00:00:00 2001 From: Ludovic Rousseau Date: Wed, 3 Apr 2013 17:55:40 +0200 Subject: [PATCH] Fix compiler warnings MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit doc/quick_start_example1.c:24: warning: unused parameter ‘argc’ doc/quick_start_example2.c:21: warning: unused parameter ‘argc’ --- examples/doc/quick_start_example1.c | 1 + examples/doc/quick_start_example2.c | 1 + 2 files changed, 2 insertions(+) diff --git a/examples/doc/quick_start_example1.c b/examples/doc/quick_start_example1.c index 0c7b620..09f3e3a 100644 --- a/examples/doc/quick_start_example1.c +++ b/examples/doc/quick_start_example1.c @@ -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: diff --git a/examples/doc/quick_start_example2.c b/examples/doc/quick_start_example2.c index dd7bdcc..2bd0af4 100644 --- a/examples/doc/quick_start_example2.c +++ b/examples/doc/quick_start_example2.c @@ -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: