mirror of
https://gitlab.freedesktop.org/freetype/freetype.git
synced 2026-06-18 14:58:24 +02:00
[base] Pacify compiler (#46266).
* src/base/ftoutln.c (FT_Outline_EmboldenXY): Initialize `in' and `anchor'.
This commit is contained in:
parent
87fefc594e
commit
e484d36b2b
2 changed files with 10 additions and 0 deletions
|
|
@ -1,3 +1,10 @@
|
|||
2015-10-21 Werner Lemberg <wl@gnu.org>
|
||||
|
||||
[base] Pacify compiler (#46266).
|
||||
|
||||
* src/base/ftoutln.c (FT_Outline_EmboldenXY): Initialize `in' and
|
||||
`anchor'.
|
||||
|
||||
2015-10-21 Werner Lemberg <wl@gnu.org>
|
||||
|
||||
[type42] Fix heap buffer overflow (#46269).
|
||||
|
|
|
|||
|
|
@ -942,6 +942,9 @@
|
|||
l_in = 0;
|
||||
last = outline->contours[c];
|
||||
|
||||
/* pacify compiler */
|
||||
in.x = in.y = anchor.x = anchor.y = 0;
|
||||
|
||||
/* Counter j cycles though the points; counter i advances only */
|
||||
/* when points are moved; anchor k marks the first moved point. */
|
||||
for ( i = last, j = first, k = -1;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue