summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorVinson Lee <vlee@vmware.com>2010-09-25 12:28:47 -0700
committerVinson Lee <vlee@vmware.com>2010-09-25 12:28:47 -0700
commit1fa50412f1840257579d8e6017e8b97189901609 (patch)
tree2b1f5c0c1e54da722d4e93ab73bbf63bbdf41177 /src
parentd7065908e48b296cceb0e1b756e9560a013881a2 (diff)
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'
Diffstat (limited to 'src')
-rw-r--r--src/gallium/drivers/r600/r600_context.c2
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 e8eb814209..ec1f44639a 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