Silent down compiler.
This commit is contained in:
parent
e6d079d87a
commit
7f9f907bc2
3 changed files with 4 additions and 2 deletions
|
@ -110,7 +110,7 @@ write_card (void)
|
||||||
page = 0x4;
|
page = 0x4;
|
||||||
}
|
}
|
||||||
|
|
||||||
for (page; page <= 0xF; page++) {
|
for (; page <= 0xF; page++) {
|
||||||
// Show if the readout went well
|
// Show if the readout went well
|
||||||
if (bFailure) {
|
if (bFailure) {
|
||||||
// When a failure occured we need to redo the anti-collision
|
// When a failure occured we need to redo the anti-collision
|
||||||
|
|
|
@ -81,6 +81,8 @@ int main(int argc, const char* argv[])
|
||||||
{
|
{
|
||||||
nfc_device_t* pnd;
|
nfc_device_t* pnd;
|
||||||
|
|
||||||
|
(void)(argc, argv);
|
||||||
|
|
||||||
// Display libnfc version
|
// Display libnfc version
|
||||||
const char* acLibnfcVersion = nfc_version();
|
const char* acLibnfcVersion = nfc_version();
|
||||||
printf("%s use libnfc %s\n", argv[0], acLibnfcVersion);
|
printf("%s use libnfc %s\n", argv[0], acLibnfcVersion);
|
||||||
|
|
|
@ -82,7 +82,7 @@ static const struct driver_callbacks drivers_callbacks_list[] = {
|
||||||
# define PRINT_HEX(pcTag, pbtData, szBytes) do { \
|
# define PRINT_HEX(pcTag, pbtData, szBytes) do { \
|
||||||
size_t __szPos; \
|
size_t __szPos; \
|
||||||
printf(" %s: ", pcTag); \
|
printf(" %s: ", pcTag); \
|
||||||
for (__szPos=0; __szPos < szBytes; __szPos++) { \
|
for (__szPos=0; __szPos < (size_t)(szBytes); __szPos++) { \
|
||||||
printf("%02x ",pbtData[__szPos]); \
|
printf("%02x ",pbtData[__szPos]); \
|
||||||
} \
|
} \
|
||||||
printf("\n"); \
|
printf("\n"); \
|
||||||
|
|
Loading…
Reference in a new issue