mirror of
https://git.savannah.gnu.org/git/grub.git
synced 2026-10-22 15:22:39 +00:00
* grub-core/tests/sleep_test.c: Silence spurious warning.
This commit is contained in:
1 parent
316c8d9a18
commit
2a123f4c58
2 files changed
+5
-1
No files matched your search
@@ -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>
|
2013-12-16 Vladimir Serbinenko <phcoder@gmail.com>
|
||||||
|
|
||||||
Make grub_xen_hypercall on i386 cdecl rather than stdcall to avoid
|
Make grub_xen_hypercall on i386 cdecl rather than stdcall to avoid
|
||||||
|
|||||||
@@ -32,7 +32,7 @@ static void
|
|||||||
sleep_test (void)
|
sleep_test (void)
|
||||||
{
|
{
|
||||||
struct grub_datetime st, en;
|
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_test_assert (!grub_get_datetime (&st), "Couldn't retrieve start time");
|
||||||
grub_millisleep (10000);
|
grub_millisleep (10000);
|
||||||
grub_test_assert (!grub_get_datetime (&en), "Couldn't retrieve end time");
|
grub_test_assert (!grub_get_datetime (&en), "Couldn't retrieve end time");
|
||||||
|
|||||||
Reference in new issue
Block a user