summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMarek Olšák <[email protected]>2010-01-09 19:23:21 +0100
committerCorbin Simpson <[email protected]>2010-01-12 18:08:58 -0800
commit4c9a8a14e56b6c45c74f2a27bfa8400b89488ee4 (patch)
treed79eb006d5b30393675c43e43fb83f493a120ccc /src
parentf3c4f2ef623942d65d1e8c38110bf059e286b36a (diff)
r300g: silence a warning
Diffstat (limited to 'src')
-rw-r--r--src/gallium/drivers/r300/r300_cs.h2
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 d142fee0502..151f72b0fe4 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)))