* grub-core/kern/mips/arc/init.c (grub_machine_get_bootlocation):

Initialise pend to pacify GCC.
This commit is contained in:
Colin Watson 2014-08-25 15:19:48 -07:00
parent c291f47b2c
commit 1de3a48098
2 changed files with 6 additions and 1 deletions

View file

@ -1,3 +1,8 @@
2014-08-25 Colin Watson <cjwatson@ubuntu.com>
* grub-core/kern/mips/arc/init.c (grub_machine_get_bootlocation):
Initialise pend to pacify GCC.
2014-08-14 Andrey Borzenkov <arvidjaar@gmail.com> 2014-08-14 Andrey Borzenkov <arvidjaar@gmail.com>
* util/grub-mkconfig.in: Fix typo (gettext_print instead of * util/grub-mkconfig.in: Fix typo (gettext_print instead of

View file

@ -360,7 +360,7 @@ grub_machine_get_bootlocation (char **device, char **path)
char *loaddev = boot_location; char *loaddev = boot_location;
char *pptr, *partptr; char *pptr, *partptr;
char *dname; char *dname;
grub_disk_addr_t poff = -1, pend; grub_disk_addr_t poff = -1, pend = -1;
struct get_device_name_ctx ctx; struct get_device_name_ctx ctx;
grub_disk_t parent = 0; grub_disk_t parent = 0;
unsigned i; unsigned i;