* grub-core/disk/efi/efidisk.c (grub_efidisk_get_device_name_iter):

Remove no-longer-true __attribute__ ((unused)) on disk parameter.
This commit is contained in:
Colin Watson 2013-09-18 15:43:58 +01:00 committed by Vladimir 'phcoder' Serbinenko
parent f5d3e7ef49
commit 607319c9ab
2 changed files with 6 additions and 1 deletions

View file

@ -3,6 +3,11 @@
* docs/grub.texi (Networking commands): Add documentation for
network related commands.
2013-09-18 Colin Watson <cjwatson@ubuntu.com>
* grub-core/disk/efi/efidisk.c (grub_efidisk_get_device_name_iter):
Remove no-longer-true __attribute__ ((unused)) on disk parameter.
2013-09-18 Douglas Ray <dougray@cpan.org>
* util/grub-mkpasswd-pbkdf2.c (grub_get_random): Declare OpenBSD PRNG

View file

@ -766,7 +766,7 @@ struct grub_efidisk_get_device_name_ctx
/* Helper for grub_efidisk_get_device_name.
Find the identical partition. */
static int
grub_efidisk_get_device_name_iter (grub_disk_t disk __attribute__ ((unused)),
grub_efidisk_get_device_name_iter (grub_disk_t disk,
const grub_partition_t part, void *data)
{
struct grub_efidisk_get_device_name_ctx *ctx = data;