Fix a bunch of warnings.

This commit is contained in:
Romain Tartiere 2012-05-14 13:47:31 +00:00
parent 2256d5d3dc
commit e9b2f5729c
5 changed files with 7 additions and 1 deletions

View file

@ -63,6 +63,7 @@ static bool init_mfc_auth = false;
static void
intr_hdlr (int sig)
{
(void) sig;
printf ("\nQuitting...\n");
if (pnd != NULL) {
nfc_close(pnd);

View file

@ -68,6 +68,7 @@ uint8_t abtSak[9] = { 0x08, 0xb6, 0xdd };
static void
intr_hdlr (int sig)
{
(void) sig;
if (pnd != NULL) {
printf ("\nAborting current command...\n");
nfc_abort_command (pnd);

View file

@ -63,6 +63,7 @@ static bool quitting = false;
static void
intr_hdlr (int sig)
{
(void) sig;
printf ("\nQuitting...\n");
quitting = true;
return;