cso: remove unreachable break statements
authorBrian Paul <brianp@vmware.com>
Thu, 2 Aug 2012 22:30:10 +0000 (16:30 -0600)
committerBrian Paul <brianp@vmware.com>
Fri, 3 Aug 2012 13:16:35 +0000 (07:16 -0600)
src/gallium/auxiliary/cso_cache/cso_context.c

index 7db1e41f8b0c9bfea30c338dc8b325a074a1ed78..b592c4f2feb99b8686685b7500d381b564993176 100644 (file)
@@ -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);