wined3d: Remove extraneous braces from switch statements

Andrew Talbot andrew.talbot at talbotville.com
Sat Nov 5 15:54:17 CDT 2011


Changelog:
    wined3d: Remove extraneous braces from switch statements.

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-patches mailing list