shithub: freetype+ttf2subf

Download patch

ref: 2c048a8a622e9f44f255aa3316026f124ac9ecbc
parent: a998d48401fbf8872265e5460cadfe4c8daca4ba
author: Werner Lemberg <[email protected]>
date: Mon Dec 11 14:24:30 EST 2017

Fix compiler warning (#52640).

* src/base/ftbitmap.c (ft_bitmap_assure_buffer): Remove unused
variable.

git/fs: mount .git/fs: mount/attach disallowed
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2017-12-11  Werner Lemberg  <[email protected]>
+
+	Fix compiler warning (#52640).
+
+	* src/base/ftbitmap.c (ft_bitmap_assure_buffer): Remove unused
+	variable.
+
 2017-12-08  Azzuro  <[email protected]>
 
 	* builds/windows/vc2010/freetype.vcxproj: Adjust output directory.
--- 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;