Mesa (master): r600g: Disable unused variables.
Vinson Lee
vlee at kemper.freedesktop.org
Sat Sep 25 19:30:40 UTC 2010
Module: Mesa
Branch: master
Commit: 1fa50412f1840257579d8e6017e8b97189901609
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=1fa50412f1840257579d8e6017e8b97189901609
Author: Vinson Lee <vlee at vmware.com>
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
More information about the mesa-commit
mailing list