summaryrefslogtreecommitdiff
path: root/src/gallium
diff options
context:
space:
mode:
authorVinson Lee <vlee@vmware.com>2010-09-17 14:27:39 -0700
committerVinson Lee <vlee@vmware.com>2010-09-17 14:27:39 -0700
commitda3db66c08cbc74f34d2fb6067ae02ceb86007b3 (patch)
treed5be8fb8883af53b1ab7fde5de41824841fdf5a0 /src/gallium
parentd74a8da2cbc7bde71083bb33f1c5b528a7eb6b31 (diff)
r600g: Silence unused variable warnings.
The variables are used in code that is currently ifdef'ed out.
Diffstat (limited to 'src/gallium')
-rw-r--r--src/gallium/drivers/r600/r600_state2.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gallium/drivers/r600/r600_state2.c b/src/gallium/drivers/r600/r600_state2.c
index 1fa58d9a5a..86c10a877d 100644
--- a/src/gallium/drivers/r600/r600_state2.c
+++ b/src/gallium/drivers/r600/r600_state2.c
@@ -684,8 +684,10 @@ 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 0
static int dc = 0;
char dname[256];
+#endif
if (!rctx->ctx.pm4_cdwords)
return;