summaryrefslogtreecommitdiffstats
path: root/plugins
diff options
context:
space:
mode:
authorTon Voon <tonvoon@users.sourceforge.net>2004-02-19 13:23:33 (GMT)
committerTon Voon <tonvoon@users.sourceforge.net>2004-02-19 13:23:33 (GMT)
commit46bac6c810f96204cf28366528929948709b4c0a (patch)
treefbcdc9d60abb9bea63587fbbe5bf251bb0d3d227 /plugins
parentb026bda604d782659228ca5d888da30ef5b6b0c0 (diff)
downloadmonitoring-plugins-46bac6c810f96204cf28366528929948709b4c0a.tar.gz
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
Diffstat (limited to 'plugins')
-rw-r--r--plugins/check_disk.c4
1 files changed, 4 insertions, 0 deletions
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)
404 se = (struct name_list *) malloc (sizeof (struct name_list)); 404 se = (struct name_list *) malloc (sizeof (struct name_list));
405 se->name = optarg; 405 se->name = optarg;
406 se->name_next = NULL; 406 se->name_next = NULL;
407 se->w_df = 0;
408 se->c_df = 0;
409 se->w_dfp = -1.0;
410 se->c_dfp = -1.0;
407 *fstail = se; 411 *fstail = se;
408 fstail = &se->name_next; 412 fstail = &se->name_next;
409 break; 413 break;