shithub: freetype+ttf2subf

Download patch

ref: 693a1181d60c287e4f8e557a62b3240fbd29a8e3
parent: 12ae57d9929e36201fb1007721a7f8b50c7aa585
author: Werner Lemberg <[email protected]>
date: Wed Sep 27 04:42:50 EDT 2017

* src/sfnt/ttload.c (tt_face_load_font_dir): Fix compiler warning.

git/fs: mount .git/fs: mount/attach disallowed
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2017-09-27  Werner Lemberg  <[email protected]>
+
+	* src/sfnt/ttload.c (tt_face_load_font_dir): Fix compiler warning.
+
 2017-09-25  Werner Lemberg  <[email protected]>
 
 	[psaux] Fix compiler warnings.
--- a/src/sfnt/ttload.c
+++ b/src/sfnt/ttload.c
@@ -338,7 +338,7 @@
     SFNT_HeaderRec  sfnt;
     FT_Error        error;
     FT_Memory       memory = stream->memory;
-    FT_UShort       nn, valid_entries;
+    FT_UShort       nn, valid_entries = 0;
 
     static const FT_Frame_Field  offset_table_fields[] =
     {