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
diff --git a/ChangeLog b/ChangeLog
index 955c626..acf2c2c 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -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>
* xmlregexp.c: remove a cut-and-paste copy error
diff --git a/threads.c b/threads.c
index 08c5ba3..d5a177d 100644
--- a/threads.c
+++ b/threads.c
@@ -428,8 +428,6 @@
{
/* 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