From ca450c5a11579d93326bc57e286b82db4b4c186c Mon Sep 17 00:00:00 2001 From: Yoga Ramalingam Date: Wed, 3 Dec 2014 08:40:18 -0500 Subject: [PATCH] Removed extra semicolon --- src/utils_cmd_flush.c | 2 +- src/utils_cmd_getval.c | 2 +- src/utils_cmd_listval.c | 2 +- src/utils_cmd_putnotif.c | 2 +- src/utils_cmd_putval.c | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/utils_cmd_flush.c b/src/utils_cmd_flush.c index b84e8de5..4e7526be 100644 --- a/src/utils_cmd_flush.c +++ b/src/utils_cmd_flush.c @@ -35,7 +35,7 @@ return -1; \ } \ fflush(fh); \ - } while (0); + } while (0) static int add_to_array (char ***array, int *array_num, char *value) { diff --git a/src/utils_cmd_getval.c b/src/utils_cmd_getval.c index cbdd617c..657483b6 100644 --- a/src/utils_cmd_getval.c +++ b/src/utils_cmd_getval.c @@ -35,7 +35,7 @@ return -1; \ } \ fflush(fh); \ - } while (0); + } while (0) int handle_getval (FILE *fh, char *buffer) { diff --git a/src/utils_cmd_listval.c b/src/utils_cmd_listval.c index 13906c18..fb45200a 100644 --- a/src/utils_cmd_listval.c +++ b/src/utils_cmd_listval.c @@ -47,7 +47,7 @@ free_everything_and_return (-1); \ } \ fflush(fh); \ - } while (0); + } while (0) int handle_listval (FILE *fh, char *buffer) { diff --git a/src/utils_cmd_putnotif.c b/src/utils_cmd_putnotif.c index f8e734de..bed84628 100644 --- a/src/utils_cmd_putnotif.c +++ b/src/utils_cmd_putnotif.c @@ -34,7 +34,7 @@ return -1; \ } \ fflush(fh); \ - } while (0); + } while (0) static int set_option_severity (notification_t *n, const char *value) { diff --git a/src/utils_cmd_putval.c b/src/utils_cmd_putval.c index 2522819d..6a3c9e4e 100644 --- a/src/utils_cmd_putval.c +++ b/src/utils_cmd_putval.c @@ -34,7 +34,7 @@ return -1; \ } \ fflush(fh); \ - } while (0); + } while (0) static int dispatch_values (const data_set_t *ds, value_list_t *vl, FILE *fh, char *buffer) -- 2.30.2