From: Vinson Lee Date: Wed, 15 Sep 2010 13:13:31 +0000 (-0700) Subject: r600g: Silence unused variable warning. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=efab1c86429d078300dd8b2125f97bf922713222;p=mesa.git r600g: Silence unused variable warning. The code that uses dname is currently ifdef'ed out. --- diff --git a/src/gallium/drivers/r600/r600_context.c b/src/gallium/drivers/r600/r600_context.c index 7cd0af616d6..00df4dcd428 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);