Code

Uninitialised variables for -X (Bug 900091 - Michael Musikhin)
authorTon Voon <tonvoon@users.sourceforge.net>
Thu, 19 Feb 2004 13:23:33 +0000 (13:23 +0000)
committerTon Voon <tonvoon@users.sourceforge.net>
Thu, 19 Feb 2004 13:23:33 +0000 (13:23 +0000)
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@807 f882894a-f735-0410-b71e-b25c423dba1c

plugins/check_disk.c

index e57fc88b937d7eaf578d2424ed83d39c3940b7b7..86b90f7c0e13c7f1c70a80b164016ba13e3a3009 100644 (file)
@@ -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;