shithub: freetype+ttf2subf

Download patch

ref: 5133c56f2f6613d07913ac85f8e14acb3e0d2f42
parent: 5d3ff05615dda6d1325ed612381a17a0df04c975
author: suzuki toshiya <[email protected]>
date: Fri Jul 31 20:32:25 EDT 2009

base: Remove an unused variable.

git/fs: mount .git/fs: mount/attach disallowed
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,12 @@
 2009-07-31  suzuki toshiya <[email protected]>
 
+	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 <[email protected]>
+
 	cache: Check higher bits in flags for non ILP32 systems.
 
 	4 public functions ought to take FT_ULong flags, but take
--- 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 */