forked from minhngoc25a/freetype2
[type42] Pacify static analysis tools (#59682).
* src/type42/t42objs.c (T42_Size_Init, T42_GlyphSlot_Init): Avoid warnings about uninitialized variables.
This commit is contained in:
parent
bd6d8e4204
commit
a3edbfa983
|
@ -1,3 +1,10 @@
|
||||||
|
2020-12-14 Werner Lemberg <wl@gnu.org>
|
||||||
|
|
||||||
|
[type42] Pacify static analysis tools (#59682).
|
||||||
|
|
||||||
|
* src/type42/t42objs.c (T42_Size_Init, T42_GlyphSlot_Init): Avoid
|
||||||
|
warnings about uninitialized variables.
|
||||||
|
|
||||||
2020-12-07 Werner Lemberg <wl@gnu.org>
|
2020-12-07 Werner Lemberg <wl@gnu.org>
|
||||||
|
|
||||||
* builds/unix/configure.raw: Don't set `FT_DEBUG_LOGGING`.
|
* builds/unix/configure.raw: Don't set `FT_DEBUG_LOGGING`.
|
||||||
|
|
|
@ -510,7 +510,8 @@
|
||||||
|
|
||||||
|
|
||||||
error = FT_New_Size( t42face->ttf_face, &ttsize );
|
error = FT_New_Size( t42face->ttf_face, &ttsize );
|
||||||
t42size->ttsize = ttsize;
|
if ( !error )
|
||||||
|
t42size->ttsize = ttsize;
|
||||||
|
|
||||||
FT_Activate_Size( ttsize );
|
FT_Activate_Size( ttsize );
|
||||||
|
|
||||||
|
@ -593,7 +594,8 @@
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
error = FT_New_GlyphSlot( t42face->ttf_face, &ttslot );
|
error = FT_New_GlyphSlot( t42face->ttf_face, &ttslot );
|
||||||
slot->ttslot = ttslot;
|
if ( !error )
|
||||||
|
slot->ttslot = ttslot;
|
||||||
}
|
}
|
||||||
|
|
||||||
return error;
|
return error;
|
||||||
|
|
Loading…
Reference in New Issue