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

@@ -428,8 +428,6 @@ __xmlGlobalInitMutexLock(void)
{
/* Make sure the global init lock is initialized and then lock it. */
#ifdef HAVE_PTHREAD_H
int err;
/* The mutex is statically initialized, so we just lock it. */
pthread_mutex_lock(&global_init_lock);
#elif defined HAVE_WIN32_THREADS