From: Yoga Ramalingam Date: Wed, 3 Dec 2014 13:40:18 +0000 (-0500) Subject: Removed extra semicolon X-Git-Tag: collectd-5.3.2~17^2 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=ca450c5a11579d93326bc57e286b82db4b4c186c;p=collectd.git Removed extra semicolon --- 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)