summaryrefslogtreecommitdiff
path: root/src/truetype
diff options
context:
space:
mode:
authorWerner Lemberg <wl@gnu.org>2009-11-08 07:58:05 +0100
committerWerner Lemberg <wl@gnu.org>2009-11-08 07:58:05 +0100
commitc0aeef4571915f9324fe2018507219d9bb31e9e1 (patch)
treea1278507da64ccde0558389009490e176095c066 /src/truetype
parentc6e4180c057f49b0b9d8267f870aa79c6388c3b9 (diff)
Fix compiler warning.
Reported by Jeremy Manson <jeremy.manson@gmail.com>. * src/truetype/ttgload.c (load_truetype_glyph): Initialize `error'.
Diffstat (limited to 'src/truetype')
-rw-r--r--src/truetype/ttgload.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/truetype/ttgload.c b/src/truetype/ttgload.c
index 0b7f2c7e..aa3f0402 100644
--- a/src/truetype/ttgload.c
+++ b/src/truetype/ttgload.c
@@ -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;