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

Author: Vinson Lee <[email protected]>
Date:   Sat Sep 25 12:28:47 2010 -0700

r600g: Disable unused variables.

The variables are used only in currently disabled code.

Fixes this GCC warning.
r600_context.c: In function 'r600_flush':
r600_context.c:76: warning: unused variable 'dname'
r600_context.c:75: warning: unused variable 'dc'

---

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

diff --git a/src/gallium/drivers/r600/r600_context.c 
b/src/gallium/drivers/r600/r600_context.c
index e8eb814..ec1f446 100644
--- a/src/gallium/drivers/r600/r600_context.c
+++ b/src/gallium/drivers/r600/r600_context.c
@@ -71,7 +71,7 @@ void r600_flush(struct pipe_context *ctx, unsigned flags,
 {
        struct r600_context *rctx = r600_context(ctx);
        struct r600_query *rquery = NULL;
-#if 1
+#if 0
        static int dc = 0;
        char dname[256];
 #endif

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

Reply via email to