ref: b34c9b49cc2a88161e150c131950dc007474e69e
parent: ae342dab608c6edc4947ffa10983cb507f99a0ca
author: Werner Lemberg <[email protected]>
date: Sat Jun 20 02:32:23 EDT 2009
aflatin.c: Fix compiler warning.
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,10 @@
2009-06-20 Werner Lemberg <[email protected]>
+ * src/autofit/aflatin.c (af_latin_metrics_check_digits): Fix
+ compiler warning.
+
+2009-06-20 Werner Lemberg <[email protected]>
+
* builds/compiler/gcc.mk (CFLAGS): Use -O3, not -O6.
2009-06-19 Werner Lemberg <[email protected]>
--- 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 );