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 diff --git a/plugins/check_snmp.c b/plugins/check_snmp.c index bae3830..0bc810d 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 v0.10-9-g596f