freetype-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[freetype2] master f44c2d5: * src/sdf/ftsdf.c (get_control_box): Fix com


From: Werner Lemberg
Subject: [freetype2] master f44c2d5: * src/sdf/ftsdf.c (get_control_box): Fix compiler warning.
Date: Wed, 18 Aug 2021 02:53:19 -0400 (EDT)

branch: master
commit f44c2d586064bcccdb504bf098b9dc78e660269e
Author: Werner Lemberg <wl@gnu.org>
Commit: Werner Lemberg <wl@gnu.org>

    * src/sdf/ftsdf.c (get_control_box): Fix compiler warning.
---
 src/sdf/ftsdf.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/sdf/ftsdf.c b/src/sdf/ftsdf.c
index d3722b1..8577219 100644
--- 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;
 
 



reply via email to

[Prev in Thread] Current Thread [Next in Thread]