Fixed a warning

This commit is contained in:
Vladimir 'phcoder' Serbinenko 2009-11-27 10:20:24 +01:00
parent 3df1f5113a
commit 2fac00e668

View file

@ -255,7 +255,10 @@ update_timeout (grub_gfxmenu_view_t view, int is_init)
seconds_remaining_rounded_up = (remaining + 999) / 1000;
}
else
seconds_remaining_rounded_up = -1;
{
seconds_remaining_rounded_up = -1;
remaining = -1;
}
if (view->last_seconds_remaining == seconds_remaining_rounded_up && !is_init)
return;