]> git.sesse.net Git - vlc/commitdiff
Fontconfig: compiler warning
authorRémi Denis-Courmont <rem@videolan.org>
Mon, 5 May 2008 16:50:11 +0000 (19:50 +0300)
committerRémi Denis-Courmont <rem@videolan.org>
Mon, 5 May 2008 16:50:11 +0000 (19:50 +0300)
modules/misc/freetype.c

index 6aa48461258854a9e3f55f919ac44303e4027f5d..2e16b18e2fdeeb799357fd72deea6629f0fc8887 100644 (file)
@@ -280,7 +280,6 @@ static int Create( vlc_object_t *p_this )
     char          *psz_fontfile = NULL;
     int            i_error;
     vlc_value_t    val;
-    vlc_mutex_t   *lock;
     vlc_object_t  *p_fontbuilder;
 
     /* Allocate structure */
@@ -368,7 +367,7 @@ static int Create( vlc_object_t *p_this )
     p_sys->p_fontconfig    = NULL;
 
     /* Check for an existing Fontbuilder thread */
-    lock = var_AcquireMutex( "fontbuilder" );
+    vlc_mutex_t *lock = var_AcquireMutex( "fontbuilder" );
     p_fontbuilder = vlc_object_find_name( p_filter->p_libvlc,
                                           "fontlist builder",
                                           FIND_CHILD );