shithub: freetype+ttf2subf

Download patch

ref: e8f92af3f0b09095d7966714468b5306b5e12ff4
parent: 05cda08bcb2c1dd0f2ba7a2b85d649d908c65cbf
author: Werner Lemberg <[email protected]>
date: Sun Jan 8 08:43:30 EST 2006

* src/pcf/pcfread.c (pcf_get_bitmaps): Remove unused variable
`bitmaps'.  From Yu Lei <[email protected]>.

git/fs: mount .git/fs: mount/attach disallowed
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,4 +1,9 @@
-2005-12-28  suzuki toshiya <[email protected]>
+2006-01-08  Werner Lemberg  <[email protected]>
+
+	* src/pcf/pcfread.c (pcf_get_bitmaps): Remove unused variable
+	`bitmaps'.  From Yu Lei <[email protected]>.
+
+2005-12-28  suzuki toshiya  <[email protected]>
 
 	* src/sfnt/sfnt/ttbdf.c: Add newline '\n' to the end of file, for
 	MPW compiler.
--- a/src/pcf/pcfread.c
+++ b/src/pcf/pcfread.c
@@ -2,7 +2,7 @@
 
     FreeType font driver for pcf fonts
 
-  Copyright 2000, 2001, 2002, 2003, 2004, 2005 by
+  Copyright 2000, 2001, 2002, 2003, 2004, 2005, 2006 by
   Francesco Zappa Nardelli
 
 Permission is hereby granted, free of charge, to any person obtaining a copy
@@ -571,7 +571,6 @@
     FT_Long    bitmapSizes[GLYPHPADOPTIONS];
     FT_ULong   format, size;
     int        nbitmaps, i, sizebitmaps = 0;
-    char*      bitmaps;
 
 
     error = pcf_seek_to_table_type( stream,
@@ -650,7 +649,6 @@
 
   Bail:
     FT_FREE ( offsets );
-    FT_FREE ( bitmaps );
     return error;
   }