Commit cc7cf2c3d04a9ea9959c0cd37cb4275e67a5d7a8

Werner Lemberg 2014-03-19T07:35:35

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.

diff --git a/ChangeLog b/ChangeLog
index e19d2db..b13a252 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,12 @@
+2014-03-19  Werner Lemberg  <wl@gnu.org>
+
+	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  <sean@rogue-research.com>
 	    Werner Lemberg  <wl@gnu.org>
 
diff --git a/src/autofit/aflatin.c b/src/autofit/aflatin.c
index 678b7c9..05b456a 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 )