Commit 070882604976669702c0fd46da0239643863842e

Suzuki, Toshiya (鈴木俊哉) 2006-10-15T07:15:28

* src/base/ftmac.c (FT_New_Face_From_FOND): Initialize the variable error

diff --git a/ChangeLog b/ChangeLog
index bd8ca35..b95787a 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2006-10-15  suzuki toshiya  <mpsuzuki@hiroshima-u.ac.jp>
+
+	* src/base/ftmac.c (FT_New_Face_From_FOND): Initialize variable
+	`error' by FT_Err_Ok.
+
 2006-10-14  suzuki toshiya  <mpsuzuki@hiroshima-u.ac.jp>
 
 	* docs/INSTALL.CROSS: New document file for cross-building.
diff --git a/src/base/ftmac.c b/src/base/ftmac.c
index 0d613f5..e4a6187 100644
--- a/src/base/ftmac.c
+++ b/src/base/ftmac.c
@@ -1165,7 +1165,7 @@
     Str255    lwfn_file_name;
     UInt8     path_lwfn[HFS_MAXPATHLEN];
     OSErr     err;
-    FT_Error  error;
+    FT_Error  error = FT_Err_Ok;
 
 
     GetResInfo( fond, &fond_id, &fond_type, fond_name );