* grub-core/tests/sleep_test.c: Silence spurious warning.
This commit is contained in:
parent
316c8d9a18
commit
2a123f4c58
2 changed files with 5 additions and 1 deletions
|
@ -1,3 +1,7 @@
|
|||
2013-12-16 Vladimir Serbinenko <phcoder@gmail.com>
|
||||
|
||||
* grub-core/tests/sleep_test.c: Silence spurious warning.
|
||||
|
||||
2013-12-16 Vladimir Serbinenko <phcoder@gmail.com>
|
||||
|
||||
Make grub_xen_hypercall on i386 cdecl rather than stdcall to avoid
|
||||
|
|
|
@ -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");
|
||||
|
|
Loading…
Reference in a new issue