summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 5416295)
raw | patch | inline | side by side (parent: 5416295)
author | Yoga Ramalingam <yramalingam1@bloomberg.net> | |
Wed, 3 Dec 2014 13:40:18 +0000 (08:40 -0500) | ||
committer | Yoga Ramalingam <yramalingam1@bloomberg.net> | |
Wed, 3 Dec 2014 13:42:33 +0000 (08:42 -0500) |
diff --git a/src/utils_cmd_flush.c b/src/utils_cmd_flush.c
index b84e8de5e1447e0cd04bf33ad9bb04f131896aa8..4e7526be5a014df57b87a71d1aa136da07ab75c3 100644 (file)
--- a/src/utils_cmd_flush.c
+++ b/src/utils_cmd_flush.c
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 cbdd617c79b17e3ed34e7b62143bb24d017c07cc..657483b6cf35c6f00bf62afc3e3c71a7c55c0f2f 100644 (file)
--- a/src/utils_cmd_getval.c
+++ b/src/utils_cmd_getval.c
return -1; \
} \
fflush(fh); \
- } while (0);
+ } while (0)
int handle_getval (FILE *fh, char *buffer)
{
index 13906c18430b492f5923a76d8fe2a089c844006b..fb45200a519801da29a823adba57a25ded5c263d 100644 (file)
--- a/src/utils_cmd_listval.c
+++ b/src/utils_cmd_listval.c
free_everything_and_return (-1); \
} \
fflush(fh); \
- } while (0);
+ } while (0)
int handle_listval (FILE *fh, char *buffer)
{
index f8e734de6f202d21c328b436686681e4866baf78..bed8462817ea1b2c15a29d663a70cd37fb318b2b 100644 (file)
--- a/src/utils_cmd_putnotif.c
+++ b/src/utils_cmd_putnotif.c
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 2522819d5f7b0a92be0eecd2eb1b6451ec4a5689..6a3c9e4e13c33fb1469e0f921ec8ca716b049c81 100644 (file)
--- a/src/utils_cmd_putval.c
+++ b/src/utils_cmd_putval.c
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)