Fix compiler warning.

Reported by Jeremy Manson <jeremy.manson@gmail.com>.

* src/truetype/ttgload.c (load_truetype_glyph): Initialize `error'.
This commit is contained in:
Werner Lemberg 2009-11-08 07:58:05 +01:00
parent c6e4180c05
commit c0aeef4571
2 changed files with 8 additions and 1 deletions

View File

@ -1,3 +1,10 @@
2009-11-08 Werner Lemberg <wl@gnu.org>
Fix compiler warning.
Reported by Jeremy Manson <jeremy.manson@gmail.com>.
* src/truetype/ttgload.c (load_truetype_glyph): Initialize `error'.
2009-11-04 Werner Lemberg <wl@gnu.org>
Remove compiler warning.

View File

@ -1186,7 +1186,7 @@
FT_UInt recurse_count,
FT_Bool header_only )
{
FT_Error error;
FT_Error error = TT_Err_Ok;
FT_Fixed x_scale, y_scale;
FT_ULong offset;
TT_Face face = (TT_Face)loader->face;