Commit 5133c56f2f6613d07913ac85f8e14acb3e0d2f42

suzuki toshiya 2009-08-01T00:32:25

base: Remove an unused variable.

diff --git a/ChangeLog b/ChangeLog
index 918cc8d..8036697 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,12 @@
 2009-07-31  suzuki toshiya <mpsuzuki@hiroshima-u.ac.jp>
 
+	base: Remove an unused variable.
+
+	* src/base/ftglyph.c (FT_Glyph_To_Bitmap): Remove an
+	unused variable `library'.  glyph->library is used.
+
+2009-07-31  suzuki toshiya <mpsuzuki@hiroshima-u.ac.jp>
+
 	cache: Check higher bits in flags for non ILP32 systems.
 
 	4 public functions ought to take FT_ULong flags, but take
diff --git a/src/base/ftglyph.c b/src/base/ftglyph.c
index f98a7bf..ef61d45 100644
--- a/src/base/ftglyph.c
+++ b/src/base/ftglyph.c
@@ -507,7 +507,6 @@
                       FT_Vector*      origin,
                       FT_Bool         destroy )
   {
-    FT_Library                library;
     FT_GlyphSlotRec           dummy;
     FT_GlyphSlot_InternalRec  dummy_internal;
     FT_Error                  error = FT_Err_Ok;
@@ -528,7 +527,6 @@
     if ( !glyph )
       goto Bad;
 
-    library = glyph->library;
     clazz = glyph->clazz;
 
     /* when called with a bitmap glyph, do nothing and return successfully */