shithub: freetype+ttf2subf

Download patch

ref: 61fa1b53c216adadd6078c66d8ff4cd10dfca8f4
parent: f7ecdbc70aa597b76f60d18d9d25fdab6da2d998
author: suzuki toshiya <[email protected]>
date: Fri Jul 31 20:30:12 EDT 2009

ftpatent.c: Fix for unused variable `error'.

git/fs: mount .git/fs: mount/attach disallowed
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,12 @@
 2009-07-31  suzuki toshiya <[email protected]>
 
+	ftpatent.c: Fix for unused variable `error'.
+
+	* src/base/ftpatent.c (_tt_check_patents_in_range):
+	Fix warning for unused variable `error'.
+
+2009-07-31  suzuki toshiya <[email protected]>
+
 	type1: Check invalid string longer than PostScript limit.
 
 	* src/type1/t1afm.c (t1_get_index): Check invalid string
--- a/src/base/ftpatent.c
+++ b/src/base/ftpatent.c
@@ -103,6 +103,7 @@
     }
 
   Exit:
+    FT_UNUSED( error );
     FT_FRAME_EXIT();
     return result;
   }