From 1de3a48098053aaebd35232bd73e3ce3f3fdf51c Mon Sep 17 00:00:00 2001 From: Colin Watson Date: Mon, 25 Aug 2014 15:19:48 -0700 Subject: [PATCH 095/506] * grub-core/kern/mips/arc/init.c (grub_machine_get_bootlocation): Initialise pend to pacify GCC. --- ChangeLog | 5 +++++ grub-core/kern/mips/arc/init.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index a8f379b..6a99e2a 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2014-08-25 Colin Watson + + * grub-core/kern/mips/arc/init.c (grub_machine_get_bootlocation): + Initialise pend to pacify GCC. + 2014-08-14 Andrey Borzenkov * util/grub-mkconfig.in: Fix typo (gettext_print instead of diff --git a/grub-core/kern/mips/arc/init.c b/grub-core/kern/mips/arc/init.c index b4f50e4..3834a14 100644 --- a/grub-core/kern/mips/arc/init.c +++ b/grub-core/kern/mips/arc/init.c @@ -360,7 +360,7 @@ grub_machine_get_bootlocation (char **device, char **path) char *loaddev = boot_location; char *pptr, *partptr; char *dname; - grub_disk_addr_t poff = -1, pend; + grub_disk_addr_t poff = -1, pend = -1; struct get_device_name_ctx ctx; grub_disk_t parent = 0; unsigned i; -- 2.4.3