Andrew Talbot : kernel32: Remove extraneous braces from switch statement.

Alexandre Julliard julliard at winehq.org
Mon Nov 7 13:30:41 CST 2011


Module: wine
Branch: master
Commit: d5ad5ca91ca6aa1a3eb2a3849bb0dbcb6f67f5d0
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=d5ad5ca91ca6aa1a3eb2a3849bb0dbcb6f67f5d0

Author: Andrew Talbot <andrew.talbot at talbotville.com>
Date:   Sat Nov  5 20:53:46 2011 +0000

kernel32: Remove extraneous braces from switch statement.

---

 dlls/kernel32/volume.c |   10 ++++------
 1 files changed, 4 insertions(+), 6 deletions(-)

diff --git a/dlls/kernel32/volume.c b/dlls/kernel32/volume.c
index e2b03a2..5d7a07d 100644
--- a/dlls/kernel32/volume.c
+++ b/dlls/kernel32/volume.c
@@ -585,12 +585,10 @@ static DWORD VOLUME_GetSuperblockSerial( const UNICODE_STRING *device, HANDLE ha
     case FS_FAT32:
         return GETLONG( superblock, 0x33 );
     case FS_UDF:
-        {
-            if (!VOLUME_ReadCDBlock(handle, block, 257*BLOCK_SIZE))
-                break;
-            superblock = block;
-            /* fallthrough */
-        }
+        if (!VOLUME_ReadCDBlock(handle, block, 257*BLOCK_SIZE))
+            break;
+        superblock = block;
+        /* fallthrough */
     case FS_ISO9660:
         {
             BYTE sum[4];




More information about the wine-cvs mailing list