Commit fc082956505e97502c415c807577aaf70fec9960

Werner Lemberg 2022-04-01T14:44:42

* src/sfnt/sfwoff.c (reconstruct_glyf): Fix gcc 10 warning.

1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/src/sfnt/sfwoff2.c b/src/sfnt/sfwoff2.c
index 0a0938d..b2855b8 100644
--- a/src/sfnt/sfwoff2.c
+++ b/src/sfnt/sfwoff2.c
@@ -973,7 +973,7 @@
         /* composite glyph */
         FT_Bool    have_instructions = FALSE;
         FT_UShort  instruction_size  = 0;
-        FT_ULong   composite_size;
+        FT_ULong   composite_size    = 0;
         FT_ULong   size_needed;
         FT_Byte*   pointer           = NULL;