Mercurial > mplayer.hg
changeset 19205:3f01e230c898
unused variable warning fix
author | diego |
---|---|
date | Fri, 28 Jul 2006 08:20:31 +0000 |
parents | 17acc0a995e2 |
children | c629606a0702 |
files | libvo/font_load_ft.c |
diffstat | 1 files changed, 2 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/libvo/font_load_ft.c Fri Jul 28 08:10:37 2006 +0000 +++ b/libvo/font_load_ft.c Fri Jul 28 08:20:31 2006 +0000 @@ -797,7 +797,7 @@ 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 @@ } #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);