shithub: freetype+ttf2subf

Download patch

ref: c0aeef4571915f9324fe2018507219d9bb31e9e1
parent: c6e4180c057f49b0b9d8267f870aa79c6388c3b9
author: Werner Lemberg <[email protected]>
date: Sun Nov 8 02:58:05 EST 2009

Fix compiler warning.
Reported by Jeremy Manson <[email protected]>.

* src/truetype/ttgload.c (load_truetype_glyph): Initialize `error'.

git/fs: mount .git/fs: mount/attach disallowed
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2009-11-08  Werner Lemberg  <[email protected]>
+
+	Fix compiler warning.
+	Reported by Jeremy Manson <[email protected]>.
+
+	* src/truetype/ttgload.c (load_truetype_glyph): Initialize `error'.
+
 2009-11-04  Werner Lemberg  <[email protected]>
 
 	Remove compiler warning.
--- 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;