diff options
author | Vinson Lee <[email protected]> | 2010-12-07 00:56:07 -0800 |
---|---|---|
committer | Vinson Lee <[email protected]> | 2010-12-07 00:58:54 -0800 |
commit | 6ee415cc6d7083bb091dfa93c617c3907a4801c9 (patch) | |
tree | 29414e71242097b657cbd1d11e82c9c75924571d /src/mesa | |
parent | 5ff6ed2b975d56e0e9ab363e2dc756ce93c78803 (diff) |
r200: Silence uninitialized variable warning.
Fixes this GCC warning.
r200_maos_arrays.c: In function 'r200EmitArrays':
r200_maos_arrays.c:113: warning: 'emitsize' may be used uninitialized in this function
Diffstat (limited to 'src/mesa')
-rw-r--r-- | src/mesa/drivers/dri/r200/r200_maos_arrays.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mesa/drivers/dri/r200/r200_maos_arrays.c b/src/mesa/drivers/dri/r200/r200_maos_arrays.c index 8a047e6419b..b62290231b9 100644 --- a/src/mesa/drivers/dri/r200/r200_maos_arrays.c +++ b/src/mesa/drivers/dri/r200/r200_maos_arrays.c @@ -200,6 +200,7 @@ void r200EmitArrays( struct gl_context *ctx, GLubyte *vimap_rev ) } default: assert(0); + emitsize = 0; } if (!rmesa->radeon.tcl.aos[nr].bo) { rcommon_emit_vector( ctx, |