[2426] 2009-07-19 Vladimir Serbinenko <[email protected]>

Vladimir Serbinenko <[email protected]> Sun, 19 Jul 2009 13:59:21 +0000
Newsgroups gmane.comp.boot-loaders.grub.cvs
Message-ID <[email protected]>
Revision: 2426
          http://svn.sv.gnu.org/viewvc/?view=rev&root=grub&revision=2426
Author:   phcoder
Date:     2009-07-19 13:59:21 +0000 (Sun, 19 Jul 2009)
Log Message:
-----------
2009-07-19  Vladimir Serbinenko  <[email protected]>

	* disk/usbms.c (grub_usbms_transfer): Fix double semicolon.
	* fs/xfs.c (grub_xfs_dir): Likewise.
	* fs/afs.c (grub_afs_dir): Likewise.
	* fs/iso9660.c (grub_iso9660_iterate_dir): Likewise.
	(grub_iso9660_open): Likewise.
	* fs/jfs.c (grub_jfs_open): Likewise.
	* fs/ext2.c (grub_ext2_dir): Likewise.
	* include/grub/macho.h (grub_macho_fat_arch): Likewise.
	* script/sh/lexer.c (grub_script_yylex): Likewise.
	

Modified Paths:
--------------
    trunk/grub2/ChangeLog
    trunk/grub2/disk/usbms.c
    trunk/grub2/fs/afs.c
    trunk/grub2/fs/ext2.c
    trunk/grub2/fs/iso9660.c
    trunk/grub2/fs/jfs.c
    trunk/grub2/fs/xfs.c
    trunk/grub2/include/grub/macho.h
    trunk/grub2/script/sh/lexer.c

Modified: trunk/grub2/ChangeLog
===================================================================
--- trunk/grub2/ChangeLog	2009-07-16 23:00:59 UTC (rev 2425)
+++ trunk/grub2/ChangeLog	2009-07-19 13:59:21 UTC (rev 2426)
@@ -1,3 +1,15 @@
+2009-07-19  Vladimir Serbinenko  <[email protected]>
+
+	* disk/usbms.c (grub_usbms_transfer): Fix double semicolon.
+	* fs/xfs.c (grub_xfs_dir): Likewise.
+	* fs/afs.c (grub_afs_dir): Likewise.
+	* fs/iso9660.c (grub_iso9660_iterate_dir): Likewise.
+	(grub_iso9660_open): Likewise.
+	* fs/jfs.c (grub_jfs_open): Likewise.
+	* fs/ext2.c (grub_ext2_dir): Likewise.
+	* include/grub/macho.h (grub_macho_fat_arch): Likewise.
+	* script/sh/lexer.c (grub_script_yylex): Likewise.
+	
 2009-07-16  Pavel Roskin  <[email protected]>
 
 	* configure.ac: Never add "-c" to CFLAGS.

Modified: trunk/grub2/disk/usbms.c
===================================================================
--- trunk/grub2/disk/usbms.c	2009-07-16 23:00:59 UTC (rev 2425)
+++ trunk/grub2/disk/usbms.c	2009-07-19 13:59:21 UTC (rev 2426)
@@ -247,7 +247,7 @@
 	  grub_usb_clear_halt (dev->dev, dev->out->endp_addr);
 	  goto retry;
 	}
-      return grub_error (GRUB_ERR_IO, "USB Mass Storage request failed");;
+      return grub_error (GRUB_ERR_IO, "USB Mass Storage request failed");
     }
 
   /* Read/write the data.  */

Modified: trunk/grub2/fs/afs.c
===================================================================
--- trunk/grub2/fs/afs.c	2009-07-16 23:00:59 UTC (rev 2425)
+++ trunk/grub2/fs/afs.c	2009-07-19 13:59:21 UTC (rev 2426)
@@ -557,7 +557,7 @@
               int (*hook) (const char *filename,
 			   const struct grub_dirhook_info *info))
 {
-  struct grub_afs_data *data = 0;;
+  struct grub_afs_data *data = 0;
   struct grub_fshelp_node *fdiro = 0;
 
   auto int NESTED_FUNC_ATTR iterate (const char *filename,

Modified: trunk/grub2/fs/ext2.c
===================================================================
--- trunk/grub2/fs/ext2.c	2009-07-16 23:00:59 UTC (rev 2425)
+++ trunk/grub2/fs/ext2.c	2009-07-19 13:59:21 UTC (rev 2426)
@@ -786,7 +786,7 @@
 	       int (*hook) (const char *filename,
 			    const struct grub_dirhook_info *info))
 {
-  struct grub_ext2_data *data = 0;;
+  struct grub_ext2_data *data = 0;
   struct grub_fshelp_node *fdiro = 0;
 
   auto int NESTED_FUNC_ATTR iterate (const char *filename,

Modified: trunk/grub2/fs/iso9660.c
===================================================================
--- trunk/grub2/fs/iso9660.c	2009-07-16 23:00:59 UTC (rev 2425)
+++ trunk/grub2/fs/iso9660.c	2009-07-19 13:59:21 UTC (rev 2426)
@@ -562,7 +562,7 @@
 	int nameoffset = offset + sizeof (dirent);
 	struct grub_fshelp_node *node;
 	int sua_off = (sizeof (dirent) + dirent.namelen + 1
-		       - (dirent.namelen % 2));;
+		       - (dirent.namelen % 2));
 	int sua_size = dirent.len - sua_off;
 
 	sua_off += offset + dir->data->susp_skip;
@@ -756,7 +756,7 @@
 
   grub_free (data);
 
-  return grub_errno;;
+  return grub_errno;
 }
 
 

Modified: trunk/grub2/fs/jfs.c
===================================================================
--- trunk/grub2/fs/jfs.c	2009-07-16 23:00:59 UTC (rev 2425)
+++ trunk/grub2/fs/jfs.c	2009-07-19 13:59:21 UTC (rev 2426)
@@ -808,7 +808,7 @@
 
   grub_free (data);
 
-  return grub_errno;;
+  return grub_errno;
 }
 
 

Modified: trunk/grub2/fs/xfs.c
===================================================================
--- trunk/grub2/fs/xfs.c	2009-07-16 23:00:59 UTC (rev 2425)
+++ trunk/grub2/fs/xfs.c	2009-07-19 13:59:21 UTC (rev 2426)
@@ -621,7 +621,7 @@
 	      int (*hook) (const char *filename,
 			   const struct grub_dirhook_info *info))
 {
-  struct grub_xfs_data *data = 0;;
+  struct grub_xfs_data *data = 0;
   struct grub_fshelp_node *fdiro = 0;
 
   auto int NESTED_FUNC_ATTR iterate (const char *filename,

Modified: trunk/grub2/include/grub/macho.h
===================================================================
--- trunk/grub2/include/grub/macho.h	2009-07-16 23:00:59 UTC (rev 2425)
+++ trunk/grub2/include/grub/macho.h	2009-07-19 13:59:21 UTC (rev 2426)
@@ -39,7 +39,7 @@
   grub_uint32_t offset;
   grub_uint32_t size;
   grub_uint32_t align;
-} __attribute__ ((packed));;
+} __attribute__ ((packed));
 
 /* File header for 32-bit. Always in native-endian. */
 struct grub_macho_header32

Modified: trunk/grub2/script/sh/lexer.c
===================================================================
--- trunk/grub2/script/sh/lexer.c	2009-07-16 23:00:59 UTC (rev 2425)
+++ trunk/grub2/script/sh/lexer.c	2009-07-19 13:59:21 UTC (rev 2426)
@@ -246,7 +246,7 @@
 		  {
 		    char c;
 		    grub_dprintf ("scripting", "token=`%c'\n", *state->script);
-		    c = *state->script;;
+		    c = *state->script;
 		    nextchar (state);
 		    state->tokenonhold = c;
 		    doexit = 1;