[vlc-devel] commit: Fontconfig: compiler warning ( Rémi Denis-Courmont )
git version control
git at videolan.org
Mon May 5 18:49:00 CEST 2008
vlc | branch: master | Rémi Denis-Courmont <rem at videolan.org> | Mon May 5 19:50:11 2008 +0300| [ed57b5bda9cb8c545ea219ec969d6a04648892f1]
Fontconfig: compiler warning
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=ed57b5bda9cb8c545ea219ec969d6a04648892f1
---
modules/misc/freetype.c | 3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
diff --git a/modules/misc/freetype.c b/modules/misc/freetype.c
index 6aa4846..2e16b18 100644
--- a/modules/misc/freetype.c
+++ b/modules/misc/freetype.c
@@ -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 );
More information about the vlc-devel
mailing list