2008-09-24 Carles Pina i Estany <carles@pina.cat>

* disk/dmraid_nvidia.c (grub_dmraid_nv_detect): Fix `unused parameter'
        warning.
        * commands/i386/pc/pxecmd.c (dmraid_nvidia): Likewise.
This commit is contained in:
robertmh 2008-09-24 16:38:58 +00:00
parent 5a0042794d
commit b0c301f78f
3 changed files with 8 additions and 2 deletions

View file

@ -1,3 +1,9 @@
2008-09-24 Carles Pina i Estany <carles@pina.cat>
* disk/dmraid_nvidia.c (grub_dmraid_nv_detect): Fix `unused parameter'
warning.
* commands/i386/pc/pxecmd.c (dmraid_nvidia): Likewise.
2008-09-24 Carles Pina i Estany <carles@pina.cat>
* include/grub/i386/pc/console.h (GRUB_TERM_NPAGE):

View file

@ -46,7 +46,8 @@ print_ip (grub_uint32_t ip)
}
static grub_err_t
grub_cmd_pxe (struct grub_arg_list *state, int argc, char **args)
grub_cmd_pxe (struct grub_arg_list *state, int argc __attribute__ ((unused)),
char **args __attribute__ ((unused)))
{
if (! grub_pxe_pxenv)
return grub_error (GRUB_ERR_FILE_NOT_FOUND, "no pxe environment");

View file

@ -93,7 +93,6 @@ grub_dmraid_nv_detect (grub_disk_t disk, struct grub_raid_array *array)
{
grub_disk_addr_t sector;
struct grub_nv_super sb;
grub_uint32_t *uuid;
if (disk->partition)
return grub_error (GRUB_ERR_OUT_OF_RANGE, "skip partition");