From 2a123f4c58089ac15cf983b518465a70f75b1155 Mon Sep 17 00:00:00 2001 From: Vladimir Serbinenko Date: Mon, 16 Dec 2013 20:32:43 +0100 Subject: [PATCH] * grub-core/tests/sleep_test.c: Silence spurious warning. --- ChangeLog | 4 ++++ grub-core/tests/sleep_test.c | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 62759bb25..faf8d81d5 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2013-12-16 Vladimir Serbinenko + + * grub-core/tests/sleep_test.c: Silence spurious warning. + 2013-12-16 Vladimir Serbinenko Make grub_xen_hypercall on i386 cdecl rather than stdcall to avoid diff --git a/grub-core/tests/sleep_test.c b/grub-core/tests/sleep_test.c index 98ea57262..3dda30312 100644 --- a/grub-core/tests/sleep_test.c +++ b/grub-core/tests/sleep_test.c @@ -32,7 +32,7 @@ static void sleep_test (void) { struct grub_datetime st, en; - grub_int32_t stu, enu; + grub_int32_t stu = 0, enu = 0; grub_test_assert (!grub_get_datetime (&st), "Couldn't retrieve start time"); grub_millisleep (10000); grub_test_assert (!grub_get_datetime (&en), "Couldn't retrieve end time");