X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=src%2Fsnmp.c;h=7c3ebc82abb72a121472c4f55154850696adbdde;hb=49c6892bbf13cc546f60310f7550b896b5921f61;hp=3e5e381921b3ce0a483ca82def812be7cd65b5e7;hpb=28bd919cbf46d9951596460b4074b99a2bfcc4a1;p=collectd.git diff --git a/src/snmp.c b/src/snmp.c index 3e5e3819..7c3ebc82 100644 --- a/src/snmp.c +++ b/src/snmp.c @@ -589,7 +589,6 @@ static int csnmp_config_add_host(oconfig_item_t *ci) { for (int i = 0; i < ci->children_num; i++) { oconfig_item_t *option = ci->children + i; - status = 0; if (strcasecmp("Address", option->key) == 0) status = cf_util_get_string(option, &hd->address);