Werner Lemberg pushed to branch master at FreeType / FreeType
Commits:
-
26e9028f
by Werner Lemberg at 2022-12-13T09:53:26+01:00
2 changed files:
Changes:
... | ... | @@ -2109,7 +2109,8 @@ |
2109 | 2109 | FT_Error error = FT_Err_Ok;
|
2110 | 2110 | |
2111 | 2111 | FT_26D6_Vec aA, bB; /* A, B in the above comment */
|
2112 | - FT_26D6_Vec nearest_point; /* point on curve nearest to `point` */
|
|
2112 | + FT_26D6_Vec nearest_point = { 0, 0 };
|
|
2113 | + /* point on curve nearest to `point` */
|
|
2113 | 2114 | FT_26D6_Vec direction; /* direction of curve at `nearest_point` */
|
2114 | 2115 | |
2115 | 2116 | FT_26D6_Vec p0, p1, p2; /* control points of a conic curve */
|
... | ... | @@ -2405,7 +2406,8 @@ |
2405 | 2406 | FT_Error error = FT_Err_Ok;
|
2406 | 2407 | |
2407 | 2408 | FT_26D6_Vec aA, bB, cC; /* A, B, C in the above comment */
|
2408 | - FT_26D6_Vec nearest_point; /* point on curve nearest to `point` */
|
|
2409 | + FT_26D6_Vec nearest_point = { 0, 0 };
|
|
2410 | + /* point on curve nearest to `point` */
|
|
2409 | 2411 | FT_26D6_Vec direction; /* direction of curve at `nearest_point` */
|
2410 | 2412 | |
2411 | 2413 | FT_26D6_Vec p0, p1, p2; /* control points of a conic curve */
|
... | ... | @@ -207,7 +207,7 @@ |
207 | 207 | FT_Error error;
|
208 | 208 | |
209 | 209 | Svg_doc start_doc;
|
210 | - Svg_doc mid_doc;
|
|
210 | + Svg_doc mid_doc = { 0, 0, 0, 0 }; /* pacify compiler */
|
|
211 | 211 | Svg_doc end_doc;
|
212 | 212 | |
213 | 213 | FT_Bool found = FALSE;
|