mga: Silence uninitialized variable warnings.

This commit is contained in:
Vinson Lee 2009-12-14 17:30:15 -08:00
parent b18fa9f448
commit 6e5fe39f50

View file

@ -397,7 +397,8 @@ do { \
#define LOCAL_VARS(n) \
mgaContextPtr mmesa = MGA_CONTEXT(ctx); \
GLuint color[n], spec[n]; \
GLuint color[n] = { 0 }; \
GLuint spec[n] = { 0 }; \
(void) color; (void) spec;