shithub: freetype+ttf2subf

Download patch

ref: 15dc278c5a23eb34c2d71b9a2fccd462a180890f
parent: e866cf3f5537cfb03cfb87e3e607f13f41f5d299
author: suzuki toshiya <[email protected]>
date: Fri Jul 31 20:32:07 EDT 2009

autofit: Fix for unused variable `first'.

git/fs: mount .git/fs: mount/attach disallowed
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,12 @@
 2009-07-31  suzuki toshiya <[email protected]>
 
+	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 <[email protected]>
+
 	Improve bitmap size or pixel variables for 16-bit systems.
 
 	* include/freetype/config/ftstdlib.h: Introduce
--- 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;