Commit 61fa1b53c216adadd6078c66d8ff4cd10dfca8f4

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

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

diff --git a/ChangeLog b/ChangeLog
index 33f4dc7..199399a 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,12 @@
 2009-07-31  suzuki toshiya <mpsuzuki@hiroshima-u.ac.jp>
 
+	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 <mpsuzuki@hiroshima-u.ac.jp>
+
 	type1: Check invalid string longer than PostScript limit.
 
 	* src/type1/t1afm.c (t1_get_index): Check invalid string
diff --git a/src/base/ftpatent.c b/src/base/ftpatent.c
index 2153868..236d9a6 100644
--- a/src/base/ftpatent.c
+++ b/src/base/ftpatent.c
@@ -103,6 +103,7 @@
     }
 
   Exit:
+    FT_UNUSED( error );
     FT_FRAME_EXIT();
     return result;
   }