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

Author: Marek Olšák <mar...@gmail.com>
Date:   Fri Sep 30 23:06:51 2011 +0200

r600g: fix a compiler warning

---

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

diff --git a/src/gallium/drivers/r600/r600_hw_context.c 
b/src/gallium/drivers/r600/r600_hw_context.c
index d261e2a..9d6b053 100644
--- a/src/gallium/drivers/r600/r600_hw_context.c
+++ b/src/gallium/drivers/r600/r600_hw_context.c
@@ -1617,6 +1617,7 @@ void r600_query_begin(struct r600_context *ctx, struct 
r600_query *query)
                break;
        default:
                assert(0);
+               return;
        }
 
        if ((required_space + ctx->pm4_cdwords) > ctx->pm4_ndwords) {

_______________________________________________
mesa-commit mailing list
mesa-commit@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/mesa-commit

Reply via email to