diff options
author | Vinson Lee <vlee@vmware.com> | 2010-09-15 06:13:31 -0700 |
---|---|---|
committer | Vinson Lee <vlee@vmware.com> | 2010-09-15 06:14:02 -0700 |
commit | efab1c86429d078300dd8b2125f97bf922713222 (patch) | |
tree | 37ee47d3bb3fe1c4f006d3dc18c34ae2babb5214 /src/gallium | |
parent | 1ce4f868031a31da759e3e687d7e3da237b4725e (diff) |
r600g: Silence unused variable warning.
The code that uses dname is currently ifdef'ed out.
Diffstat (limited to 'src/gallium')
-rw-r--r-- | 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 7cd0af616d..00df4dcd42 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); |