shithub: freetype+ttf2subf

Download patch

ref: 34c203cddea5a68056aaef0f4161ccadb1e017aa
parent: a813cf4801d933833ae23d39643836bfd88e6367
author: suzuki toshiya <[email protected]>
date: Fri Jul 31 20:30:16 EDT 2009

cff: Fix for unused variable `rest'.

git/fs: mount .git/fs: mount/attach disallowed
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,12 @@
 2009-07-31  suzuki toshiya <[email protected]>
 
+	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 <[email protected]>
+
 	cff: Fix some data types mismatching with their sources.
 
 	* src/cff/cffgload.c (cff_slot_load): The types of	
--- 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;