From 59d7c2b09a185ad76f1612b657fd4e60febf7b9d Mon Sep 17 00:00:00 2001 From: Michael Beck Date: Tue, 23 Oct 2007 14:13:00 +0000 Subject: [PATCH] initialize variable to supress (wrong) warning [r16314] --- ir/ir/irarch.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ir/ir/irarch.c b/ir/ir/irarch.c index 17c8f4138..2e07af6a4 100644 --- a/ir/ir/irarch.c +++ b/ir/ir/irarch.c @@ -230,7 +230,7 @@ static unsigned char *value_to_condensed(mul_env *env, tarval *tv, int *pr) { */ static int calculate_gain(unsigned char *R, int r) { int max_gain = -1; - int idx, i; + int idx = 0, i; int gain; /* the gain for r == 1 */ -- 2.20.1