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

Author: Vinson Lee <[email protected]>
Date:   Wed Sep 15 06:13:31 2010 -0700

r600g: Silence unused variable warning.

The code that uses dname is currently ifdef'ed out.

---

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

diff --git a/src/gallium/drivers/r600/r600_context.c 
b/src/gallium/drivers/r600/r600_context.c
index 7cd0af6..00df4dc 100644
--- a/src/gallium/drivers/r600/r600_context.c
+++ b/src/gallium/drivers/r600/r600_context.c
@@ -66,7 +66,9 @@ void r600_flush(struct pipe_context *ctx, unsigned flags,
        struct r600_context *rctx = r600_context(ctx);
        struct r600_query *rquery = NULL;
        static int dc = 0;
+#if 0
        char dname[256];
+#endif
 
        /* suspend queries */
        r600_queries_suspend(ctx);

_______________________________________________
mesa-commit mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/mesa-commit

Reply via email to