shithub: freetype+ttf2subf

Download patch

ref: 48c86628deafc87a23a1dc92d3a073fe30b1f1bb
parent: 56ddafa01ce251d2f1f3adde3b0f72dd8ff7a405
author: Behdad Esfahbod <[email protected]>
date: Wed Jan 14 14:38:36 EST 2015

* src/autofit/afmodule.c (af_autofitter_done): Fix compiler warning.

git/fs: mount .git/fs: mount/attach disallowed
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,9 @@
 2015-01-14  Behdad Esfahbod  <[email protected]>
 
+	* src/autofit/afmodule.c (af_autofitter_done): Fix compiler warning.
+
+2015-01-14  Behdad Esfahbod  <[email protected]>
+
 	[autofit] Add embedded array of segments and edges.
 
 	Avoids multiple mallocs per typical glyphs.
--- a/src/autofit/afmodule.c
+++ b/src/autofit/afmodule.c
@@ -260,7 +260,7 @@
   FT_CALLBACK_DEF( void )
   af_autofitter_done( FT_Module  ft_module )      /* AF_Module */
   {
-    AF_Module  module = (AF_Module)ft_module;
+    FT_UNUSED( ft_module );
   }