From: Matthias Eble Date: Sat, 12 May 2007 07:45:36 +0000 (+0000) Subject: Fixed glibc error caused in utils_base.c due to uninitialized thresholds struct ... X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=1ef19943e19fe30a5fbd7607e53c75c98db9974c;p=nagiosplug.git Fixed glibc error caused in utils_base.c due to uninitialized thresholds struct (spotted on ubundu 6.06 LTS). git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1711 f882894a-f735-0410-b71e-b25c423dba1c --- diff --git a/plugins/check_cluster.c b/plugins/check_cluster.c index 61350bf..5d52d42 100644 --- a/plugins/check_cluster.c +++ b/plugins/check_cluster.c @@ -69,7 +69,7 @@ int main(int argc, char **argv){ char *ptr; int data_val; int return_code=STATE_OK; - thresholds *thresholds; + thresholds *thresholds = NULL; if(process_arguments(argc,argv)==ERROR) usage(_("Could not parse arguments"));