Fix a brunch of -Wextra warnings:

- 'static' is not at beginning of declaration;
  - unused parameter;
  - comparison between signed and unsigned.
This commit is contained in:
Romain Tartiere 2010-04-07 15:08:04 +00:00
parent 3a0d05d15a
commit 5473befa13
8 changed files with 22 additions and 4 deletions

View file

@ -91,6 +91,8 @@ pn532_uart_list_devices(nfc_device_desc_t pnddDevices[], size_t szDevices, size_
* sending some PN53x commands. But using this way to probe devices, we can
* have serious problem with other device on this bus */
#ifndef SERIAL_AUTOPROBE_ENABLED
(void)pnddDevices;
(void)szDevices;
*pszDeviceFound = 0;
DBG("%s", "Serial auto-probing have been disabled at compile time. Skipping autoprobe.");
return false;