summaryrefslogtreecommitdiff
path: root/src/gallium/drivers
diff options
context:
space:
mode:
authorVinson Lee <vlee@vmware.com>2010-09-24 23:08:08 -0700
committerVinson Lee <vlee@vmware.com>2010-09-24 23:08:08 -0700
commit68fdd5f0d9d66f3b9c103a5ec0674a5f8e4c93d7 (patch)
tree71414f55141d209c3e7c96741652106788f806fc /src/gallium/drivers
parent207481fa53e545e12cb11a3a8b0e64ff0416beeb (diff)
r600g: Disable unused variables.
The variables are only used in currently disabled code. Fixes this GCC warning. r600_state2.c: In function 'r600_flush2': r600_state2.c:613: warning: unused variable 'dname' r600_state2.c:612: warning: unused variable 'dc'
Diffstat (limited to 'src/gallium/drivers')
-rw-r--r--src/gallium/drivers/r600/r600_state2.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/r600/r600_state2.c b/src/gallium/drivers/r600/r600_state2.c
index 482ec0de81..40038f0732 100644
--- a/src/gallium/drivers/r600/r600_state2.c
+++ b/src/gallium/drivers/r600/r600_state2.c
@@ -608,7 +608,7 @@ static void r600_flush2(struct pipe_context *ctx, unsigned flags,
struct pipe_fence_handle **fence)
{
struct r600_pipe_context *rctx = (struct r600_pipe_context *)ctx;
-#if 1
+#if 0
static int dc = 0;
char dname[256];
#endif