From cc7cf2c3d04a9ea9959c0cd37cb4275e67a5d7a8 Mon Sep 17 00:00:00 2001 From: Werner Lemberg Date: Wed, 19 Mar 2014 07:35:35 +0100 Subject: [PATCH] Partially revert last commit. Found by Alexei. * src/autofit/aflatin.c (af_latin_metrics_init_blues): Initializing those variables is plain wrong, since we are in a loop. --- ChangeLog | 9 +++++++++ src/autofit/aflatin.c | 4 ++-- 2 files changed, 11 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index e19d2db0f..b13a25294 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,12 @@ +2014-03-19 Werner Lemberg + + Partially revert last commit. + + Found by Alexei. + + * src/autofit/aflatin.c (af_latin_metrics_init_blues): Initializing + those variables is plain wrong, since we are in a loop. + 2014-03-18 Sean McBride Werner Lemberg diff --git a/src/autofit/aflatin.c b/src/autofit/aflatin.c index 678b7c9a1..05b456a73 100644 --- a/src/autofit/aflatin.c +++ b/src/autofit/aflatin.c @@ -552,8 +552,8 @@ { FT_Bool l2r; FT_Pos d; - FT_Int p_first = 0; /* pacify clang compiler */ - FT_Int p_last = 0; + FT_Int p_first; + FT_Int p_last; if ( !hit )