summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 33bda9d)
raw | patch | inline | side by side (parent: 33bda9d)
author | Florian Forster <octo@collectd.org> | |
Wed, 3 Apr 2013 02:20:17 +0000 (19:20 -0700) | ||
committer | Florian Forster <octo@collectd.org> | |
Wed, 3 Apr 2013 02:20:17 +0000 (19:20 -0700) |
Thanks to Magnus for pointing this out.
src/snmp.c | patch | blob | history |
diff --git a/src/snmp.c b/src/snmp.c
index 7805944000d1f665feee222b62a47e5e361d0453..38a24cd3b29c18ac632af562a61ce62d6cca48d6 100644 (file)
--- 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];