Commit 693a1181d60c287e4f8e557a62b3240fbd29a8e3

Werner Lemberg 2017-09-27T08:42:50

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

diff --git a/ChangeLog b/ChangeLog
index 459182d..c98c490 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2017-09-27  Werner Lemberg  <wl@gnu.org>
+
+	* src/sfnt/ttload.c (tt_face_load_font_dir): Fix compiler warning.
+
 2017-09-25  Werner Lemberg  <wl@gnu.org>
 
 	[psaux] Fix compiler warnings.
diff --git a/src/sfnt/ttload.c b/src/sfnt/ttload.c
index df99baa..23c8e7d 100644
--- 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[] =
     {