diff options
author | Vinson Lee <[email protected]> | 2010-01-08 20:22:17 -0800 |
---|---|---|
committer | Vinson Lee <[email protected]> | 2010-01-08 20:24:05 -0800 |
commit | 20d6360db7ca8610e5958cd7f851e664d77684fc (patch) | |
tree | 2c0412cddbf962d2ad8d00fc901f7b882d3b9960 | |
parent | de37a00d271fc4ab919c3c715322018c0b76369f (diff) |
tgsi: Silence uninitialized variable warnings.
-rw-r--r-- | src/gallium/auxiliary/tgsi/tgsi_exec.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/gallium/auxiliary/tgsi/tgsi_exec.c b/src/gallium/auxiliary/tgsi/tgsi_exec.c index b7569e74d4b..146000adeb4 100644 --- a/src/gallium/auxiliary/tgsi/tgsi_exec.c +++ b/src/gallium/auxiliary/tgsi/tgsi_exec.c @@ -1209,11 +1209,19 @@ fetch_src_file_channel( default: assert( 0 ); + chan->u[0] = 0; + chan->u[1] = 0; + chan->u[2] = 0; + chan->u[3] = 0; } break; default: assert( 0 ); + chan->u[0] = 0; + chan->u[1] = 0; + chan->u[2] = 0; + chan->u[3] = 0; } } |