diff options
author | suzuki toshiya <mpsuzuki@hiroshima-u.ac.jp> | 2009-07-03 18:01:40 +0900 |
---|---|---|
committer | suzuki toshiya <mpsuzuki@hiroshima-u.ac.jp> | 2009-07-03 18:01:40 +0900 |
commit | 8114d2d6847783021eef82fa7f1e07ee5f041acd (patch) | |
tree | 7dc6ed2aabacbc0bde7c90a076a6281c33836124 | |
parent | 7a95cd876a4343b22061b44b1290286e5fa42a16 (diff) | |
download | freetype2-8114d2d6847783021eef82fa7f1e07ee5f041acd.tar.gz |
base: Remove an unused variable.
-rw-r--r-- | ChangeLog | 7 | ||||
-rw-r--r-- | src/base/ftglyph.c | 2 |
2 files changed, 7 insertions, 2 deletions
@@ -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 */ |