From e8594f461da0701f3e44af2c5baf351b909a5038 Mon Sep 17 00:00:00 2001 From: Holger Weiss Date: Thu, 5 Sep 2013 00:19:36 +0200 Subject: check_snmp: Initialize size_t value to 0, not NULL --- plugins/check_snmp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'plugins/check_snmp.c') diff --git a/plugins/check_snmp.c b/plugins/check_snmp.c index bae38300..0bc810d1 100644 --- a/plugins/check_snmp.c +++ b/plugins/check_snmp.c @@ -112,7 +112,7 @@ char *privproto = NULL; char *authpasswd = NULL; char *privpasswd = NULL; char **oids = NULL; -size_t oids_size = NULL; +size_t oids_size = 0; char *label; char *units; char *port; -- cgit v1.2.3