mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-02 18:48:28 +02:00
mga: Silence uninitialized variable warnings.
This commit is contained in:
parent
b18fa9f448
commit
6e5fe39f50
1 changed files with 2 additions and 1 deletions
|
|
@ -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;
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue