Andrew Talbot : wined3d: Remove extraneous braces from switch statements.

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


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

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

wined3d: Remove extraneous braces from switch statements.

---

 dlls/wined3d/glsl_shader.c |    4 ----
 1 files changed, 0 insertions(+), 4 deletions(-)

diff --git a/dlls/wined3d/glsl_shader.c b/dlls/wined3d/glsl_shader.c
index d1f3bff..32ac385 100644
--- a/dlls/wined3d/glsl_shader.c
+++ b/dlls/wined3d/glsl_shader.c
@@ -426,11 +426,9 @@ static inline void walk_constant_heap(const struct wined3d_gl_info *gl_info, con
             }
 
             case HEAP_NODE_POP:
-            {
                 heap_idx >>= 1;
                 --stack_idx;
                 break;
-            }
         }
     }
     checkGLcall("walk_constant_heap()");
@@ -501,11 +499,9 @@ static inline void walk_constant_heap_clamped(const struct wined3d_gl_info *gl_i
             }
 
             case HEAP_NODE_POP:
-            {
                 heap_idx >>= 1;
                 --stack_idx;
                 break;
-            }
         }
     }
     checkGLcall("walk_constant_heap_clamped()");




More information about the wine-cvs mailing list