diff options
author | diego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2006-07-28 08:20:31 +0000 |
---|---|---|
committer | diego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2006-07-28 08:20:31 +0000 |
commit | 16279f8128a9ec012ffd36ed677c8aae51b0426a (patch) | |
tree | 0c874d12b250f36a0ffcf17e31bc8f6ca88c242a /libvo | |
parent | 0bdf40e5cc5e7c88e4250bc506b94a601cc5c041 (diff) |
unused variable warning fix
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19210 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libvo')
-rw-r--r-- | libvo/font_load_ft.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libvo/font_load_ft.c b/libvo/font_load_ft.c index f00674c102..09b3b0bb6e 100644 --- a/libvo/font_load_ft.c +++ b/libvo/font_load_ft.c @@ -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); |