From 878af0e22a6ebacc317e58918bd2c0ed05de732c Mon Sep 17 00:00:00 2001 From: Romain Tartiere Date: Tue, 31 Aug 2010 10:08:40 +0000 Subject: [PATCH] Remove extra semi-columns at end of macro definitions. --- libfreefare/mifare_desfire.c | 4 ++-- test/test_mifare_desfire.c | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/libfreefare/mifare_desfire.c b/libfreefare/mifare_desfire.c index 6bb000b..5be37d4 100644 --- a/libfreefare/mifare_desfire.c +++ b/libfreefare/mifare_desfire.c @@ -89,7 +89,7 @@ static ssize_t read_data (MifareTag tag, uint8_t command, uint8_t file_no, off_ do { \ if (MIFARE_DESFIRE (tag)->authenticated_key_no == NOT_YET_AUTHENTICATED) \ return errno = EINVAL, -1;\ - } while (0); + } while (0) /* * XXX: cs < 0 is a CommunicationSettings detection error. Other values are @@ -109,7 +109,7 @@ static ssize_t read_data (MifareTag tag, uint8_t command, uint8_t file_no, off_ do { \ if (!argument) \ return errno = EINVAL, -1; \ - } while (0); + } while (0) /* diff --git a/test/test_mifare_desfire.c b/test/test_mifare_desfire.c index 504c5f4..d6b8864 100644 --- a/test/test_mifare_desfire.c +++ b/test/test_mifare_desfire.c @@ -36,7 +36,7 @@ uint8_t key_data_3des[16] = { 'C', 'a', 'r', 'd', ' ', 'M', 'a', 's', 't', 'e', if ((res < 0) || (MIFARE_DESFIRE (tag)->last_picc_error != OPERATION_OK)) { \ cut_fail ("%s returned %d, error: %s, errno: %s\n", last_command, res, desfire_error_lookup (MIFARE_DESFIRE (tag)->last_picc_error), strerror (errno)); \ } \ - } while (0); + } while (0) void test_mifare_desfire (void)