X-Git-Url: https://git.octo.it/?p=collectd.git;a=blobdiff_plain;f=src%2Fmatch_empty_counter.c;h=27817fe5dbde63aaadcc9e2962d00a212c4be7d7;hp=0b2ab1266d5062f7a0b18be3a399f06adc8a0b95;hb=7111bb6df7628edce3a8e538b386fbe27633a191;hpb=76fb10bf790e35dd6caca13c4bb5d0f86c517370 diff --git a/src/match_empty_counter.c b/src/match_empty_counter.c index 0b2ab126..27817fe5 100644 --- a/src/match_empty_counter.c +++ b/src/match_empty_counter.c @@ -40,12 +40,12 @@ static int mec_create(const oconfig_item_t *ci, void **user_data) /* {{{ */ } *user_data = NULL; - return (0); + return 0; } /* }}} int mec_create */ static int mec_destroy(__attribute__((unused)) void **user_data) /* {{{ */ { - return (0); + return 0; } /* }}} int mec_destroy */ static int mec_match(__attribute__((unused)) const data_set_t *ds, /* {{{ */ @@ -67,9 +67,9 @@ static int mec_match(__attribute__((unused)) const data_set_t *ds, /* {{{ */ } if ((num_counters != 0) && (num_counters == num_empty)) - return (FC_MATCH_MATCHES); + return FC_MATCH_MATCHES; - return (FC_MATCH_NO_MATCH); + return FC_MATCH_NO_MATCH; } /* }}} int mec_match */ void module_register(void) {