[1873] 2008-09-24 Carles Pina i Estany <[email protected]>

Robert Millan <[email protected]>
Newsgroups gmane.comp.boot-loaders.grub.cvs
Message-ID <[email protected]>
Revision: 1873
          http://svn.sv.gnu.org/viewvc/?view=rev&root=grub&revision=1873
Author:   robertmh
Date:     2008-09-24 16:38:58 +0000 (Wed, 24 Sep 2008)

Log Message:
-----------
2008-09-24 Carles Pina i Estany <[email protected]>

        * disk/dmraid_nvidia.c (grub_dmraid_nv_detect): Fix `unused parameter'
        warning.
        * commands/i386/pc/pxecmd.c (dmraid_nvidia): Likewise.

Modified Paths:
--------------
    trunk/grub2/ChangeLog
    trunk/grub2/commands/i386/pc/pxecmd.c
    trunk/grub2/disk/dmraid_nvidia.c

Modified: trunk/grub2/ChangeLog
===================================================================
--- trunk/grub2/ChangeLog	2008-09-24 10:22:18 UTC (rev 1872)
+++ trunk/grub2/ChangeLog	2008-09-24 16:38:58 UTC (rev 1873)
@@ -1,3 +1,9 @@
+2008-09-24 Carles Pina i Estany <[email protected]>
+
+	* 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  <[email protected]>
 
 	* include/grub/i386/pc/console.h (GRUB_TERM_NPAGE):

Modified: trunk/grub2/commands/i386/pc/pxecmd.c
===================================================================
--- trunk/grub2/commands/i386/pc/pxecmd.c	2008-09-24 10:22:18 UTC (rev 1872)
+++ trunk/grub2/commands/i386/pc/pxecmd.c	2008-09-24 16:38:58 UTC (rev 1873)
@@ -46,7 +46,8 @@
 }
 
 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");

Modified: trunk/grub2/disk/dmraid_nvidia.c
===================================================================
--- trunk/grub2/disk/dmraid_nvidia.c	2008-09-24 10:22:18 UTC (rev 1872)
+++ trunk/grub2/disk/dmraid_nvidia.c	2008-09-24 16:38:58 UTC (rev 1873)
@@ -93,7 +93,6 @@
 {
   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");
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.