From e8f92af3f0b09095d7966714468b5306b5e12ff4 Mon Sep 17 00:00:00 2001
From: Werner Lemberg <wl@gnu.org>
Date: Sun, 8 Jan 2006 13:43:30 +0000
Subject: [PATCH] * src/pcf/pcfread.c (pcf_get_bitmaps): Remove unused variable
 `bitmaps'.  From Yu Lei <yulei0@gmail.com>.

---
 ChangeLog         | 7 ++++++-
 src/pcf/pcfread.c | 4 +---
 2 files changed, 7 insertions(+), 4 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index bce8c99b8..9f2340620 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 ea74d17d5..2c798e21b 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;
   }