From b34c9b49cc2a88161e150c131950dc007474e69e Mon Sep 17 00:00:00 2001 From: Werner Lemberg Date: Sat, 20 Jun 2009 06:32:23 +0200 Subject: [PATCH] aflatin.c: Fix compiler warning. --- ChangeLog | 5 +++++ src/autofit/aflatin.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 26ef3767f..0059a1220 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2009-06-20 Werner Lemberg + + * src/autofit/aflatin.c (af_latin_metrics_check_digits): Fix + compiler warning. + 2009-06-20 Werner Lemberg * builds/compiler/gcc.mk (CFLAGS): Use -O3, not -O6. diff --git a/src/autofit/aflatin.c b/src/autofit/aflatin.c index 148eb1e5b..aae6e2eed 100644 --- a/src/autofit/aflatin.c +++ b/src/autofit/aflatin.c @@ -409,7 +409,7 @@ for ( i = 0x30; i <= 0x39; i++ ) { FT_UInt glyph_index; - FT_Fixed advance, old_advance; + FT_Fixed advance, old_advance = 0; glyph_index = FT_Get_Char_Index( face, i );