mirror of
https://git.proxmox.com/git/grub2
synced 2025-08-13 12:55:01 +00:00
Fixed a warning
This commit is contained in:
parent
3df1f5113a
commit
2fac00e668
@ -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;
|
||||
remaining = -1;
|
||||
}
|
||||
|
||||
if (view->last_seconds_remaining == seconds_remaining_rounded_up && !is_init)
|
||||
return;
|
||||
|
Loading…
Reference in New Issue
Block a user