shithub: freetype+ttf2subf

Download patch

ref: 885b4c2475f3272afd4115c97c150266cd815406
parent: 74e9ca6d2ef5b0010d9ac8f2763dcf16163f40ce
author: Werner Lemberg <[email protected]>
date: Sat Apr 6 03:07:37 EDT 2019

* src/sfnt/ttcmap.c (tt_get_glyph_name): Pacify compiler (#56061).

This is for Visual Studio 2019 on ARM.

git/fs: mount .git/fs: mount/attach disallowed
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,11 @@
 2019-04-06  Werner Lemberg  <[email protected]>
 
+	* src/sfnt/ttcmap.c (tt_get_glyph_name): Pacify compiler (#56061).
+
+	This is for Visual Studio 2019 on ARM.
+
+2019-04-06  Werner Lemberg  <[email protected]>
+
 	For distribution, replace `.tar.bz2' with `.tar.xz' bundles.
 
 	* builds/toplevel.mk (build): Do it.
--- 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 );