From 693a1181d60c287e4f8e557a62b3240fbd29a8e3 Mon Sep 17 00:00:00 2001 From: Werner Lemberg Date: Wed, 27 Sep 2017 08:42:50 +0200 Subject: [PATCH] * src/sfnt/ttload.c (tt_face_load_font_dir): Fix compiler warning. --- ChangeLog | 4 ++++ src/sfnt/ttload.c | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 459182d39..c98c4900e 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2017-09-27 Werner Lemberg + + * src/sfnt/ttload.c (tt_face_load_font_dir): Fix compiler warning. + 2017-09-25 Werner Lemberg [psaux] Fix compiler warnings. diff --git a/src/sfnt/ttload.c b/src/sfnt/ttload.c index df99baa53..23c8e7df9 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[] = {