MIPS grub_machine_get_bootlocation arguments are used

This commit is contained in:
Andrey Borzenkov 2013-11-16 16:59:07 +04:00
parent 59ba9d147f
commit 9e18dfe277
2 changed files with 6 additions and 2 deletions

View file

@ -1,3 +1,8 @@
2013-11-16 Andrey Borzenkov <arvidjaar@gmail.com>
* grub-core/kern/mips/arc/init.c (grub_machine_get_bootlocation):
Remove "unused" attribute from arguments, they are used.
2013-11-15 Colin Watson <cjwatson@debian.org>
* .gitignore: Only ignore grub-mk* at the top level.

View file

@ -355,8 +355,7 @@ get_device_name_iter (grub_disk_t disk __attribute__ ((unused)),
}
void
grub_machine_get_bootlocation (char **device __attribute__ ((unused)),
char **path __attribute__ ((unused)))
grub_machine_get_bootlocation (char **device, char **path)
{
char *loaddev = boot_location;
char *pptr, *partptr;