summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWerner Lemberg <wl@gnu.org>2021-08-18 08:52:21 +0200
committerWerner Lemberg <wl@gnu.org>2021-08-18 08:52:21 +0200
commitf44c2d586064bcccdb504bf098b9dc78e660269e (patch)
treee63239cab6b24ad06e0a9aa9ed4c8e649fc3e534
parentf11f3ed15b5987e52a201df57771a09307c305d2 (diff)
downloadfreetype2-f44c2d586064bcccdb504bf098b9dc78e660269e.tar.gz
* src/sdf/ftsdf.c (get_control_box): Fix compiler warning.
-rw-r--r--src/sdf/ftsdf.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/sdf/ftsdf.c b/src/sdf/ftsdf.c
index d3722b1dc..857721944 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;