[vlc-commits] Removed write only variable (freetype).

Laurent Aimar git at videolan.org
Tue Jun 14 20:08:31 CEST 2011


vlc | branch: master | Laurent Aimar <fenrir at videolan.org> | Mon Jun 13 16:29:48 2011 +0200| [ca1265b673d2fe4a51f3f0751c6e93c33331a2a2] | committer: Laurent Aimar

Removed write only variable (freetype).

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=ca1265b673d2fe4a51f3f0751c6e93c33331a2a2
---

 modules/misc/text_renderer/freetype.c |    6 ------
 1 files changed, 0 insertions(+), 6 deletions(-)

diff --git a/modules/misc/text_renderer/freetype.c b/modules/misc/text_renderer/freetype.c
index 61fd522..c3de540 100644
--- a/modules/misc/text_renderer/freetype.c
+++ b/modules/misc/text_renderer/freetype.c
@@ -240,7 +240,6 @@ struct filter_sys_t
 {
     FT_Library     p_library;   /* handle to library     */
     FT_Face        p_face;      /* handle to face object */
-    bool           i_use_kerning;
     uint8_t        i_font_opacity;
     int            i_font_color;
     int            i_font_size;
@@ -2097,9 +2096,6 @@ static int ProcessLines( filter_t *p_filter,
                 free( pi_karaoke_bar );
                 return VLC_EGENERIC;
             }
-            p_sys->i_use_kerning =
-                        FT_HAS_KERNING( ( p_face  ? p_face : p_sys->p_face ) );
-
 
             uint32_t *psz_unicode = malloc( (k - i_prev + 1) * sizeof(*psz_unicode) );
             if( !psz_unicode )
@@ -2536,8 +2532,6 @@ static int Create( vlc_object_t *p_this )
         goto error;
     }
 
-    p_sys->i_use_kerning = FT_HAS_KERNING( p_sys->p_face );
-
     if( SetFontSize( p_filter, 0 ) != VLC_SUCCESS ) goto error;
 
 



More information about the vlc-commits mailing list