From d4a781817cbe1c6168e0687aea968b7a6f348abe Mon Sep 17 00:00:00 2001 From: Holger Weiss Date: Tue, 10 Sep 2013 20:52:13 +0200 Subject: Fix GCC's -Wuninitialized warnings Fix the issues found by GCC when the -Wuninitialized flag is specified. --- lib/tests/test_disk.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib') 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; -- cgit v1.2.3