[vlc-devel] commit: Missing static variable declaration ( Rémi Denis-Courmont )
git version control
git at videolan.org
Thu Feb 26 17:23:04 CET 2009
vlc | branch: 0.9-bugfix | Rémi Denis-Courmont <remi at remlab.net> | Thu Feb 26 18:22:43 2009 +0200| [f106114c71e42288343aaadfa08fcbdc16c0bf9a] | committer: Rémi Denis-Courmont
Missing static variable declaration
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=f106114c71e42288343aaadfa08fcbdc16c0bf9a
---
modules/misc/xml/libxml.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/modules/misc/xml/libxml.c b/modules/misc/xml/libxml.c
index e5de2f1..2afe3a5 100644
--- a/modules/misc/xml/libxml.c
+++ b/modules/misc/xml/libxml.c
@@ -71,6 +71,8 @@ static unsigned refs = 0;
#if defined (LIBVLC_USE_PTHREAD)
static vlc_mutex_t lock = PTHREAD_MUTEX_INITIALIZER;
#elif defined (WIN32)
+static vlc_mutex_t lock;
+
BOOL WINAPI DllMain (HINSTANCE hinstDll, DWORD fdwReason, LPVOID lpvReserved)
{
(void) hinstDll;
More information about the vlc-devel
mailing list