From efab1c86429d078300dd8b2125f97bf922713222 Mon Sep 17 00:00:00 2001 From: Vinson Lee Date: Wed, 15 Sep 2010 06:13:31 -0700 Subject: r600g: Silence unused variable warning. The code that uses dname is currently ifdef'ed out. --- src/gallium/drivers/r600/r600_context.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/gallium/drivers') 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); -- cgit v1.2.3