diff options
author | Holger Weiss <holger@zedat.fu-berlin.de> | 2013-09-10 20:52:13 +0200 |
---|---|---|
committer | Holger Weiss <holger@zedat.fu-berlin.de> | 2013-09-10 20:52:13 +0200 |
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 58eb8f1d..f6477ac4 100644 --- a/lib/tests/test_disk.c +++ b/lib/tests/test_disk.c @@ -34,7 +34,7 @@ main (int argc, char **argv) struct name_list *dummy_mountlist = NULL; struct name_list *temp_name; struct parameter_list *paths = NULL; - struct parameter_list *p, *prev, *last; + struct parameter_list *p, *prev = NULL, *last = NULL; struct mount_entry *dummy_mount_list; struct mount_entry *me; |