diff options
author | Holger Weiss <holger@zedat.fu-berlin.de> | 2013-09-10 18:52:13 (GMT) |
---|---|---|
committer | Holger Weiss <holger@zedat.fu-berlin.de> | 2013-09-10 18:52:13 (GMT) |
commit | d4a781817cbe1c6168e0687aea968b7a6f348abe (patch) | |
tree | 7981bfe79edf66d9e296b28e90323d04f7287a48 /lib | |
parent | cfb50add532c1b5c80ea8214340b0a908a7fab65 (diff) | |
download | monitoring-plugins-d4a781817cbe1c6168e0687aea968b7a6f348abe.tar.gz |
Fix GCC's -Wuninitialized warnings
Fix the issues found by GCC when the -Wuninitialized flag is specified.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/tests/test_disk.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/tests/test_disk.c b/lib/tests/test_disk.c index 58eb8f1..f6477ac 100644 --- a/lib/tests/test_disk.c +++ b/lib/tests/test_disk.c | |||
@@ -34,7 +34,7 @@ main (int argc, char **argv) | |||
34 | struct name_list *dummy_mountlist = NULL; | 34 | struct name_list *dummy_mountlist = NULL; |
35 | struct name_list *temp_name; | 35 | struct name_list *temp_name; |
36 | struct parameter_list *paths = NULL; | 36 | struct parameter_list *paths = NULL; |
37 | struct parameter_list *p, *prev, *last; | 37 | struct parameter_list *p, *prev = NULL, *last = NULL; |
38 | 38 | ||
39 | struct mount_entry *dummy_mount_list; | 39 | struct mount_entry *dummy_mount_list; |
40 | struct mount_entry *me; | 40 | struct mount_entry *me; |