Commit e8f92af3f0b09095d7966714468b5306b5e12ff4

Werner Lemberg 2006-01-08T13:43:30

* src/pcf/pcfread.c (pcf_get_bitmaps): Remove unused variable `bitmaps'. From Yu Lei <yulei0@gmail.com>.

diff --git a/ChangeLog b/ChangeLog
index bce8c99..9f23406 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,4 +1,9 @@
-2005-12-28  suzuki toshiya <mpsuzuki@hiroshima-u.ac.jp>
+2006-01-08  Werner Lemberg  <wl@gnu.org>
+
+	* src/pcf/pcfread.c (pcf_get_bitmaps): Remove unused variable
+	`bitmaps'.  From Yu Lei <yulei0@gmail.com>.
+
+2005-12-28  suzuki toshiya  <mpsuzuki@hiroshima-u.ac.jp>
 
 	* src/sfnt/sfnt/ttbdf.c: Add newline '\n' to the end of file, for
 	MPW compiler.
diff --git a/src/pcf/pcfread.c b/src/pcf/pcfread.c
index ea74d17..2c798e2 100644
--- 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 @@ THE SOFTWARE.
     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 @@ THE SOFTWARE.
 
   Bail:
     FT_FREE ( offsets );
-    FT_FREE ( bitmaps );
     return error;
   }