freetype-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[ft-devel] [PATCH] FT_Request_Metrics : initialize w & h


From: Ismail Dönmez
Subject: [ft-devel] [PATCH] FT_Request_Metrics : initialize w & h
Date: Sun, 3 Jun 2007 02:46:09 +0300
User-agent: KMail/1.9.6 (enterprise 0.20070508.662491)

Hi,

src/base/ftobjs.c line 2233 produces the following warning with latest CVS ,

/packages/freetype2/src/base/ftobjs.c: In function 'FT_Request_Metrics':
/packages/freetype2/src/base/ftobjs.c:2233: warning: 'h' may be used 
uninitialized in this function
/packages/freetype2/src/base/ftobjs.c:2233: warning: 'w' may be used 
uninitialized in this function

Attached patch fixes this by initializing both w & h to zero.

Regards,
ismail

-- 
Perfect is the enemy of good

Attachment: 1
Description: Text Data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]