shithub: freetype+ttf2subf

Download patch

ref: f44c2d586064bcccdb504bf098b9dc78e660269e
parent: f11f3ed15b5987e52a201df57771a09307c305d2
author: Werner Lemberg <wl@gnu.org>
date: Wed Aug 18 04:52:21 EDT 2021

* src/sdf/ftsdf.c (get_control_box): Fix compiler warning.

git/fs: mount .git/fs: mount/attach disallowed
--- a/src/sdf/ftsdf.c
+++ b/src/sdf/ftsdf.c
@@ -841,12 +841,12 @@
    *
    */
 
-  /* Return the control box of a edge.  The control box is a rectangle */
-  /* in which all the control points can fit tightly.                  */
+  /* Return the control box of an edge.  The control box is a rectangle */
+  /* in which all the control points can fit tightly.                   */
   static FT_CBox
   get_control_box( SDF_Edge  edge )
   {
-    FT_CBox  cbox;
+    FT_CBox  cbox   = { 0, 0, 0, 0 };
     FT_Bool  is_set = 0;