From: Nathan Ward Date: Thu, 29 Oct 2015 01:22:44 +0000 (+1300) Subject: Fix clang complaining about extraneous parenthesis. X-Git-Tag: collectd-5.5.1~50^2 X-Git-Url: https://git.octo.it/?a=commitdiff_plain;h=6784becb0cecf1faf313ffb8da283acc416dc083;p=collectd.git Fix clang complaining about extraneous parenthesis. --- diff --git a/src/snmp.c b/src/snmp.c index d4a29c7e..acbdca0b 100644 --- a/src/snmp.c +++ b/src/snmp.c @@ -771,7 +771,7 @@ static value_t csnmp_value_list_to_value (struct variable_list *vl, int type, tmp_unsigned = (uint32_t) *vl->val.integer; tmp_signed = (int32_t) *vl->val.integer; - if ((vl->type == ASN_INTEGER)) + if (vl->type == ASN_INTEGER) prefer_signed = 1; DEBUG ("snmp plugin: Parsed int32 value is %"PRIu64".", tmp_unsigned);