From: Brian Paul Date: Thu, 2 Aug 2012 22:30:10 +0000 (-0600) Subject: cso: remove unreachable break statements X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=832706a80beb1643ec777a0a795a4ddcf6dfaca4;p=mesa.git cso: remove unreachable break statements --- 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);