From 34c203cddea5a68056aaef0f4161ccadb1e017aa Mon Sep 17 00:00:00 2001 From: suzuki toshiya Date: Sat, 1 Aug 2009 00:30:16 +0900 Subject: [PATCH] cff: Fix for unused variable `rest'. --- ChangeLog | 7 +++++++ src/cff/cffparse.c | 2 ++ 2 files changed, 9 insertions(+) diff --git a/ChangeLog b/ChangeLog index dcbb1d947..5bd9b5a4d 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2009-07-31 suzuki toshiya + + cff: Fix for unused variable `rest'. + + * src/cff/cffparse.c (cff_parse_real): Insert + FT_UNUSED() to hide the unused variable warning. + 2009-07-31 suzuki toshiya cff: Fix some data types mismatching with their sources. diff --git a/src/cff/cffparse.c b/src/cff/cffparse.c index 5892cbeb3..9b9a6a595 100644 --- a/src/cff/cffparse.c +++ b/src/cff/cffparse.c @@ -155,6 +155,8 @@ integer_length = 0; fraction_length = 0; + FT_UNUSED( rest ); + /* First of all, read the integer part. */ phase = 4;