From 15dc278c5a23eb34c2d71b9a2fccd462a180890f Mon Sep 17 00:00:00 2001 From: suzuki toshiya Date: Sat, 1 Aug 2009 00:32:07 +0900 Subject: [PATCH] autofit: Fix for unused variable `first'. --- ChangeLog | 7 +++++++ src/autofit/afhints.c | 1 + 2 files changed, 8 insertions(+) diff --git a/ChangeLog b/ChangeLog index 699070a2f..4c83ac972 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2009-07-31 suzuki toshiya + + 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 Improve bitmap size or pixel variables for 16-bit systems. diff --git a/src/autofit/afhints.c b/src/autofit/afhints.c index 8ab176148..e175b0441 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;