Browse Source

r300g: init chan=0 to silence warning

tags/i965-primitive-restart-v2
Brian Paul 13 years ago
parent
commit
dab5f98404
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      src/gallium/drivers/r300/compiler/radeon_optimize.c

+ 1
- 1
src/gallium/drivers/r300/compiler/radeon_optimize.c View File

@@ -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;

Loading…
Cancel
Save