Mesa (mesa_7_7_branch): r300g: Silence 'mixed declarations and code' warning.

Vinson Lee vlee at kemper.freedesktop.org
Mon Jan 4 02:06:35 UTC 2010


Module: Mesa
Branch: mesa_7_7_branch
Commit: 3e196f433dc02654f1c0f7989e2e7e7a5c4b425d
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=3e196f433dc02654f1c0f7989e2e7e7a5c4b425d

Author: Vinson Lee <vlee at vmware.com>
Date:   Sun Jan  3 18:05:12 2010 -0800

r300g: Silence 'mixed declarations and code' 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 86ba91d..5342488 100644
--- a/src/gallium/drivers/r300/r300_cs.h
+++ b/src/gallium/drivers/r300/r300_cs.h
@@ -51,7 +51,7 @@
 #define CS_LOCALS(context) \
     struct r300_context* const cs_context_copy = (context); \
     struct r300_winsys* cs_winsys = cs_context_copy->winsys; \
-    int cs_count = 0;
+    int cs_count = 0
 
 #define CHECK_CS(size) \
     cs_winsys->check_cs(cs_winsys, (size))




More information about the mesa-commit mailing list