1
mirror of https://github.com/mpv-player/mpv synced 2024-10-18 10:25:02 +02:00

unused variable warning fix

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19210 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
diego 2006-07-28 08:20:31 +00:00
parent 0bdf40e5cc
commit 16279f8128

View File

@ -797,7 +797,7 @@ static int prepare_charset_unicode(FT_Face face, FT_ULong *charset, FT_ULong *ch
FT_ULong charcode;
#endif
FT_UInt gindex;
int i,j;
int i;
if (face->charmap==NULL || face->charmap->encoding!=ft_encoding_unicode) {
WARNING("Unicode charmap not available for this font. Very bad!");
@ -816,6 +816,7 @@ static int prepare_charset_unicode(FT_Face face, FT_ULong *charset, FT_ULong *ch
}
#else
// for FT < 2.1 we have to use brute force enumeration
int j;
i = 0;
for (j = 33; j < 65536; j++) {
gindex = FT_Get_Char_Index(face, j);