From c308353ba986771cbd94cc2b4c598d34c8cd4c4e Mon Sep 17 00:00:00 2001 From: Florian Forster Date: Thu, 18 Jun 2015 09:16:18 +0200 Subject: [PATCH] snmp plugin: Fix "Dead assignment" warning. --- src/snmp.c | 1 - 1 file changed, 1 deletion(-) diff --git a/src/snmp.c b/src/snmp.c index 362f175c..3dd08e4a 100644 --- a/src/snmp.c +++ b/src/snmp.c @@ -402,7 +402,6 @@ static int csnmp_config_add_data (oconfig_item_t *ci) for (i = 0; i < ci->children_num; i++) { oconfig_item_t *option = ci->children + i; - status = 0; if (strcasecmp ("Type", option->key) == 0) status = csnmp_config_add_data_type (dd, option); -- 2.30.2