Mesa (master): softpipe: remove pointless break stmt

Brian Paul brianp at kemper.freedesktop.org
Wed Nov 23 22:33:01 UTC 2011


Module: Mesa
Branch: master
Commit: 173427841ace7514fa6b24d24ea65f4d90549cb5
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=173427841ace7514fa6b24d24ea65f4d90549cb5

Author: Brian Paul <brianp at vmware.com>
Date:   Wed Nov 23 15:02:05 2011 -0700

softpipe: remove pointless break stmt

---

 src/gallium/drivers/softpipe/sp_quad_depth_test.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)

diff --git a/src/gallium/drivers/softpipe/sp_quad_depth_test.c b/src/gallium/drivers/softpipe/sp_quad_depth_test.c
index 29fb599..fb163b2 100644
--- a/src/gallium/drivers/softpipe/sp_quad_depth_test.c
+++ b/src/gallium/drivers/softpipe/sp_quad_depth_test.c
@@ -678,7 +678,6 @@ alpha_test_quads(struct quad_stage *qs,
       return alpha_test_quads_LESS( qs, quads, nr );
    case PIPE_FUNC_EQUAL:
       return alpha_test_quads_EQUAL( qs, quads, nr );
-      break;
    case PIPE_FUNC_LEQUAL:
       return alpha_test_quads_LEQUAL( qs, quads, nr );
    case PIPE_FUNC_GREATER:




More information about the mesa-commit mailing list