base: Remove an unused variable.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37
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 */