summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers
diff options
context:
space:
mode:
Diffstat (limited to 'src/gallium/drivers')
-rw-r--r--src/gallium/drivers/r300/compiler/radeon_optimize.c2
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;