From 46bac6c810f96204cf28366528929948709b4c0a Mon Sep 17 00:00:00 2001 From: Ton Voon Date: Thu, 19 Feb 2004 13:23:33 +0000 Subject: Uninitialised variables for -X (Bug 900091 - Michael Musikhin) git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@807 f882894a-f735-0410-b71e-b25c423dba1c diff --git a/plugins/check_disk.c b/plugins/check_disk.c index e57fc88..86b90f7 100644 --- a/plugins/check_disk.c +++ b/plugins/check_disk.c @@ -404,6 +404,10 @@ process_arguments (int argc, char **argv) se = (struct name_list *) malloc (sizeof (struct name_list)); se->name = optarg; se->name_next = NULL; + se->w_df = 0; + se->c_df = 0; + se->w_dfp = -1.0; + se->c_dfp = -1.0; *fstail = se; fstail = &se->name_next; break; -- cgit v0.10-9-g596f