summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsuzuki toshiya <mpsuzuki@hiroshima-u.ac.jp>2009-07-03 18:01:40 +0900
committersuzuki toshiya <mpsuzuki@hiroshima-u.ac.jp>2009-07-03 18:01:40 +0900
commit8114d2d6847783021eef82fa7f1e07ee5f041acd (patch)
tree7dc6ed2aabacbc0bde7c90a076a6281c33836124
parent7a95cd876a4343b22061b44b1290286e5fa42a16 (diff)
downloadfreetype2-8114d2d6847783021eef82fa7f1e07ee5f041acd.tar.gz
base: Remove an unused variable.
-rw-r--r--ChangeLog7
-rw-r--r--src/base/ftglyph.c2
2 files changed, 7 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index e3bf78116..8ab1d35b9 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,12 @@
2009-07-03 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-03 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 f98a7bfbf..ef61d45df 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 */