Mesa (master): r300g: silence a warning
Corbin Simpson
csimpson at kemper.freedesktop.org
Wed Jan 13 02:09:26 UTC 2010
Module: Mesa
Branch: master
Commit: 4c9a8a14e56b6c45c74f2a27bfa8400b89488ee4
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=4c9a8a14e56b6c45c74f2a27bfa8400b89488ee4
Author: Marek Olšák <maraeo at gmail.com>
Date: Sat Jan 9 19:23:21 2010 +0100
r300g: silence a warning
---
src/gallium/drivers/r300/r300_cs.h | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/src/gallium/drivers/r300/r300_cs.h b/src/gallium/drivers/r300/r300_cs.h
index d142fee..151f72b 100644
--- a/src/gallium/drivers/r300/r300_cs.h
+++ b/src/gallium/drivers/r300/r300_cs.h
@@ -52,7 +52,7 @@
#define CS_LOCALS(context) \
struct r300_context* const cs_context_copy = (context); \
struct radeon_winsys* cs_winsys = cs_context_copy->winsys; \
- int cs_count = 0;
+ int cs_count = 0; (void) cs_count;
#define CHECK_CS(size) \
assert(cs_winsys->check_cs(cs_winsys, (size)))
More information about the mesa-commit
mailing list