diff options
author | Brian Paul <[email protected]> | 2012-02-29 20:53:46 -0700 |
---|---|---|
committer | Brian Paul <[email protected]> | 2012-02-29 20:53:46 -0700 |
commit | dab5f98404677bbbdbe3d5a82b607bfd4689b48e (patch) | |
tree | adbf1e981206532cec4b28201bcd15248cf5a9aa /src/gallium/drivers/r300/compiler | |
parent | c59bdee12ebc14fb97e33b8ef9df666422dafba5 (diff) |
r300g: init chan=0 to silence warning
Diffstat (limited to 'src/gallium/drivers/r300/compiler')
-rw-r--r-- | src/gallium/drivers/r300/compiler/radeon_optimize.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/r300/compiler/radeon_optimize.c b/src/gallium/drivers/r300/compiler/radeon_optimize.c index 2d799a6547a..0714d794182 100644 --- a/src/gallium/drivers/r300/compiler/radeon_optimize.c +++ b/src/gallium/drivers/r300/compiler/radeon_optimize.c @@ -700,7 +700,7 @@ static int peephole_mul_omod( struct rc_instruction * inst_mul, struct rc_list * var_list) { - unsigned int chan, swz, i; + unsigned int chan = 0, swz, i; int const_index = -1; int temp_index = -1; float const_value; |