Commit 885b4c2475f3272afd4115c97c150266cd815406

Werner Lemberg 2019-04-06T07:07:37

* src/sfnt/ttcmap.c (tt_get_glyph_name): Pacify compiler (#56061). This is for Visual Studio 2019 on ARM.

diff --git a/ChangeLog b/ChangeLog
index d047838..7e38010 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,11 @@
 2019-04-06  Werner Lemberg  <wl@gnu.org>
 
+	* src/sfnt/ttcmap.c (tt_get_glyph_name): Pacify compiler (#56061).
+
+	This is for Visual Studio 2019 on ARM.
+
+2019-04-06  Werner Lemberg  <wl@gnu.org>
+
 	For distribution, replace `.tar.bz2' with `.tar.xz' bundles.
 
 	* builds/toplevel.mk (build): Do it.
diff --git a/src/sfnt/ttcmap.c b/src/sfnt/ttcmap.c
index 8d97373..32ad301 100644
--- a/src/sfnt/ttcmap.c
+++ b/src/sfnt/ttcmap.c
@@ -3661,7 +3661,7 @@
   tt_get_glyph_name( TT_Face  face,
                      FT_UInt  idx )
   {
-    FT_String*  PSname;
+    FT_String*  PSname = NULL;
 
 
     tt_face_get_ps_name( face, idx, &PSname );