From 070882604976669702c0fd46da0239643863842e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Suzuki=2C=20Toshiya=20=28=E9=88=B4=E6=9C=A8=E4=BF=8A?= =?UTF-8?q?=E5=93=89=29?= Date: Sun, 15 Oct 2006 07:15:28 +0000 Subject: [PATCH] * src/base/ftmac.c (FT_New_Face_From_FOND): Initialize the variable error --- ChangeLog | 5 +++++ src/base/ftmac.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index bd8ca3508..b95787a66 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2006-10-15 suzuki toshiya + + * src/base/ftmac.c (FT_New_Face_From_FOND): Initialize variable + `error' by FT_Err_Ok. + 2006-10-14 suzuki toshiya * docs/INSTALL.CROSS: New document file for cross-building. diff --git a/src/base/ftmac.c b/src/base/ftmac.c index 0d613f55e..e4a61876a 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 );