Commit 15dc278c5a23eb34c2d71b9a2fccd462a180890f

suzuki toshiya 2009-08-01T00:32:07

autofit: Fix for unused variable `first'.

diff --git a/ChangeLog b/ChangeLog
index 699070a..4c83ac9 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,12 @@
 2009-07-31  suzuki toshiya <mpsuzuki@hiroshima-u.ac.jp>
 
+	autofit: Fix for unused variable `first'.
+
+	* src/autofit/afhints.c (af_glyph_hints_reload): Insert
+	FT_UNUSED() to hide the unused variable warning.
+
+2009-07-31  suzuki toshiya <mpsuzuki@hiroshima-u.ac.jp>
+
 	Improve bitmap size or pixel variables for 16-bit systems.
 
 	* include/freetype/config/ftstdlib.h: Introduce
diff --git a/src/autofit/afhints.c b/src/autofit/afhints.c
index 8ab1761..e175b04 100644
--- a/src/autofit/afhints.c
+++ b/src/autofit/afhints.c
@@ -645,6 +645,7 @@
         FT_Int      contour_index = 0;
 
 
+        FT_UNUSED( first );
         for ( point = points; point < point_limit; point++, vec++, tag++ )
         {
           point->fx = (FT_Short)vec->x;