Commit 2c048a8a622e9f44f255aa3316026f124ac9ecbc

Werner Lemberg 2017-12-11T19:24:30

Fix compiler warning (#52640). * src/base/ftbitmap.c (ft_bitmap_assure_buffer): Remove unused variable.

diff --git a/ChangeLog b/ChangeLog
index 1331ad0..adbff55 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2017-12-11  Werner Lemberg  <wl@gnu.org>
+
+	Fix compiler warning (#52640).
+
+	* src/base/ftbitmap.c (ft_bitmap_assure_buffer): Remove unused
+	variable.
+
 2017-12-08  Azzuro  <azzuro@team-mediaportal.com>
 
 	* builds/windows/vc2010/freetype.vcxproj: Adjust output directory.
diff --git a/src/base/ftbitmap.c b/src/base/ftbitmap.c
index f7bd270..5ad21a3 100644
--- a/src/base/ftbitmap.c
+++ b/src/base/ftbitmap.c
@@ -156,7 +156,7 @@
     int             pitch;
     int             new_pitch;
     FT_UInt         bpp;
-    FT_UInt         i, width, height;
+    FT_UInt         width, height;
     unsigned char*  buffer = NULL;