mirror of
https://gitlab.gnome.org/GNOME/libxml2.git
synced 2025-10-24 13:33:01 +03:00
remove unused variable in __xmlGlobalInitMutexLock reported by Hannes Eder
* threads.c: remove unused variable in __xmlGlobalInitMutexLock reported by Hannes Eder Daniel svn path=/trunk/; revision=3666
This commit is contained in:
@@ -1,3 +1,8 @@
|
|||||||
|
Fri Nov 23 11:47:48 CET 2007 Daniel Veillard <daniel@veillard.com>
|
||||||
|
|
||||||
|
* threads.c: remove unused variable in __xmlGlobalInitMutexLock
|
||||||
|
reported by Hannes Eder
|
||||||
|
|
||||||
Mon Nov 19 18:39:26 CET 2007 Daniel Veillard <daniel@veillard.com>
|
Mon Nov 19 18:39:26 CET 2007 Daniel Veillard <daniel@veillard.com>
|
||||||
|
|
||||||
* xmlregexp.c: remove a cut-and-paste copy error
|
* xmlregexp.c: remove a cut-and-paste copy error
|
||||||
|
|||||||
@@ -428,8 +428,6 @@ __xmlGlobalInitMutexLock(void)
|
|||||||
{
|
{
|
||||||
/* Make sure the global init lock is initialized and then lock it. */
|
/* Make sure the global init lock is initialized and then lock it. */
|
||||||
#ifdef HAVE_PTHREAD_H
|
#ifdef HAVE_PTHREAD_H
|
||||||
int err;
|
|
||||||
|
|
||||||
/* The mutex is statically initialized, so we just lock it. */
|
/* The mutex is statically initialized, so we just lock it. */
|
||||||
pthread_mutex_lock(&global_init_lock);
|
pthread_mutex_lock(&global_init_lock);
|
||||||
#elif defined HAVE_WIN32_THREADS
|
#elif defined HAVE_WIN32_THREADS
|
||||||
|
|||||||
Reference in New Issue
Block a user