]> git.ipfire.org Git - thirdparty/grub.git/commitdiff
MIPS grub_machine_get_bootlocation arguments are used
authorAndrey Borzenkov <arvidjaar@gmail.com>
Sat, 16 Nov 2013 12:59:07 +0000 (16:59 +0400)
committerAndrey Borzenkov <arvidjaar@gmail.com>
Sat, 16 Nov 2013 12:59:07 +0000 (16:59 +0400)
ChangeLog
grub-core/kern/mips/arc/init.c

index dae7160567933d490dfa268aa20126831169f036..bba81dba4d33cdd1edb636fb596388634598386b 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -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.
index f12026e95eed93780685d0317230496fe45c8566..cb6c22848ecd60dd7bc78ad43482f3b0ab1d892d 100644 (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;