projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fdcad8a
)
gamma: Silence uninitialized variable warnings.
author
Vinson Lee
<vlee@vmware.com>
Sat, 20 Feb 2010 10:29:43 +0000
(
02:29
-0800)
committer
Vinson Lee
<vlee@vmware.com>
Sat, 20 Feb 2010 10:29:43 +0000
(
02:29
-0800)
src/mesa/drivers/dri/gamma/gamma_tris.c
patch
|
blob
|
history
diff --git
a/src/mesa/drivers/dri/gamma/gamma_tris.c
b/src/mesa/drivers/dri/gamma/gamma_tris.c
index b7eab34d52515ba19bbb4c405856d843479f0fd5..babe964951bca96ee6e052c91672bda7606c6e13 100644
(file)
--- a/
src/mesa/drivers/dri/gamma/gamma_tris.c
+++ b/
src/mesa/drivers/dri/gamma/gamma_tris.c
@@
-323,7
+323,7
@@
do { \
#define LOCAL_VARS(n) \
gammaContextPtr gmesa = GAMMA_CONTEXT(ctx); \
- GLuint color[n]
;
\
+ GLuint color[n]
= { 0 };
\
(void) color;