From 832706a80beb1643ec777a0a795a4ddcf6dfaca4 Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Thu, 2 Aug 2012 16:30:10 -0600 Subject: [PATCH] cso: remove unreachable break statements --- src/gallium/auxiliary/cso_cache/cso_context.c | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/gallium/auxiliary/cso_cache/cso_context.c b/src/gallium/auxiliary/cso_cache/cso_context.c index 7db1e41f8b0..b592c4f2feb 100644 --- a/src/gallium/auxiliary/cso_cache/cso_context.c +++ b/src/gallium/auxiliary/cso_cache/cso_context.c @@ -189,19 +189,14 @@ static INLINE boolean delete_cso(struct cso_context *ctx, switch (type) { case CSO_BLEND: return delete_blend_state(ctx, state); - break; case CSO_SAMPLER: return delete_sampler_state(ctx, state); - break; case CSO_DEPTH_STENCIL_ALPHA: return delete_depth_stencil_state(ctx, state); - break; case CSO_RASTERIZER: return delete_rasterizer_state(ctx, state); - break; case CSO_VELEMENTS: return delete_vertex_elements(ctx, state); - break; default: assert(0); FREE(state); -- 2.30.2