From: Pavel Rochnyack Date: Wed, 25 Jul 2018 17:42:39 +0000 (+0700) Subject: Removed parentheses around return arguments X-Git-Tag: collectd-5.9.0~147 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4a542f452353feb6e7ed56e96474e86ae5dc9424;p=thirdparty%2Fcollectd.git Removed parentheses around return arguments --- diff --git a/src/amqp1.c b/src/amqp1.c index 9a7b5ce36..87bb50cf8 100644 --- a/src/amqp1.c +++ b/src/amqp1.c @@ -476,7 +476,7 @@ static int amqp1_write(const data_set_t *ds, const value_list_t *vl, /* {{{ */ ERROR("amqp1 plugin: format_json_finalize failed with status %i.", status); cd_message_free(cdm); - return (status); + return status; } cdm->mbuf.size = strlen(cdm->mbuf.start); if (cdm->mbuf.size >= BUFSIZE) { diff --git a/src/snmp.c b/src/snmp.c index a86d08534..af26fbd8c 100644 --- a/src/snmp.c +++ b/src/snmp.c @@ -1539,7 +1539,7 @@ static int csnmp_dispatch_table(host_definition_t *host, value_cell_ptr[0] = value_cell_ptr[0]->next; } /* while (have_more) */ - return (0); + return 0; } /* int csnmp_dispatch_table */ static int csnmp_read_table(host_definition_t *host, data_definition_t *data) {