Commit 34c203cddea5a68056aaef0f4161ccadb1e017aa

suzuki toshiya 2009-08-01T00:30:16

cff: Fix for unused variable `rest'.

diff --git a/ChangeLog b/ChangeLog
index dcbb1d9..5bd9b5a 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,12 @@
 2009-07-31  suzuki toshiya <mpsuzuki@hiroshima-u.ac.jp>
 
+	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 <mpsuzuki@hiroshima-u.ac.jp>
+
 	cff: Fix some data types mismatching with their sources.
 
 	* src/cff/cffgload.c (cff_slot_load): The types of	
diff --git a/src/cff/cffparse.c b/src/cff/cffparse.c
index 5892cbe..9b9a6a5 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;