1
0
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:
Daniel Veillard
2007-11-23 10:46:55 +00:00
parent 00fde4e490
commit 5fce6d6870
2 changed files with 5 additions and 2 deletions

View File

@@ -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

View File

@@ -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