From 5fce6d6870936fab7b51cda3496b7b9dfcadd01b Mon Sep 17 00:00:00 2001 From: Daniel Veillard Date: Fri, 23 Nov 2007 10:46:55 +0000 Subject: [PATCH] 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 --- ChangeLog | 5 +++++ threads.c | 2 -- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 955c6267..acf2c2c6 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +Fri Nov 23 11:47:48 CET 2007 Daniel Veillard + + * threads.c: remove unused variable in __xmlGlobalInitMutexLock + reported by Hannes Eder + Mon Nov 19 18:39:26 CET 2007 Daniel Veillard * xmlregexp.c: remove a cut-and-paste copy error diff --git a/threads.c b/threads.c index 08c5ba3a..d5a177d3 100644 --- a/threads.c +++ b/threads.c @@ -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