Fix clang complaining about extraneous parenthesis.
authorNathan Ward <nathan@primoris.co.nz>
Thu, 29 Oct 2015 01:22:44 +0000 (14:22 +1300)
committerMarc Fournier <marc.fournier@camptocamp.com>
Sun, 8 Nov 2015 16:13:02 +0000 (17:13 +0100)
src/snmp.c

index d4a29c7..acbdca0 100644 (file)
@@ -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);