From: Florian Forster Date: Wed, 3 Apr 2013 02:20:17 +0000 (-0700) Subject: snmp plugin: Fix compilation issue. X-Git-Tag: collectd-5.1.3~2^2 X-Git-Url: https://git.verplant.org/?a=commitdiff_plain;h=fcdef5642be518d6115583c65b0582e3d9d8d65b;p=collectd.git snmp plugin: Fix compilation issue. Thanks to Magnus for pointing this out. --- diff --git a/src/snmp.c b/src/snmp.c index 78059440..38a24cd3 100644 --- a/src/snmp.c +++ b/src/snmp.c @@ -1204,7 +1204,6 @@ static int csnmp_read_table (host_definition_t *host, data_definition_t *data) /* Holds the last OID returned by the device. We use this in the GETNEXT * request to proceed. */ oid_t oid_list[oid_list_len]; - oid_t *oid_list; /* Set to false when an OID has left its subtree so we don't re-request it * again. */ _Bool oid_list_todo[oid_list_len];