]> git.sesse.net Git - vlc/commitdiff
Freetype: cosmetics
authorJean-Baptiste Kempf <jb@videolan.org>
Sat, 26 Mar 2011 22:06:56 +0000 (23:06 +0100)
committerJean-Baptiste Kempf <jb@videolan.org>
Sat, 26 Mar 2011 22:06:56 +0000 (23:06 +0100)
modules/misc/text_renderer/freetype.c

index 2f58ba2f40694c580cef072554293a4f4288278d..e85573427a5f2aac9e03b429b89bc314cd23b8b1 100644 (file)
@@ -299,9 +299,9 @@ static int Create( vlc_object_t *p_this )
 {
     filter_t      *p_filter = (filter_t *)p_this;
     filter_sys_t  *p_sys;
-    char          *psz_fontfile = NULL;
+    char          *psz_fontfile   = NULL;
     char          *psz_fontfamily = NULL;
-    int            i_error, fontindex;
+    int            i_error = 0, fontindex = 0;
 
     /* Allocate structure */
     p_filter->p_sys = p_sys = malloc( sizeof( filter_sys_t ) );
@@ -349,7 +349,6 @@ static int Create( vlc_object_t *p_this )
     }
 
     /* Set the font file */
-    fontindex = 0;
 #ifdef HAVE_FONTCONFIG
     FontConfig_BuildCache( p_filter );