]> granicus.if.org Git - check/commitdiff
* Removed doubled unused lock variable.
authorhugo303 <hugo303@64e312b2-a51f-0410-8e61-82d0ca0eb02a>
Fri, 26 Feb 2010 14:48:51 +0000 (14:48 +0000)
committerhugo303 <hugo303@64e312b2-a51f-0410-8e61-82d0ca0eb02a>
Fri, 26 Feb 2010 14:48:51 +0000 (14:48 +0000)
git-svn-id: svn+ssh://svn.code.sf.net/p/check/code/trunk@586 64e312b2-a51f-0410-8e61-82d0ca0eb02a

src/check_pack.c

index 66cbc369950af54171838507a9e8518139a767b8..f3c55ba33c0f932d33ad7dc5709ae1d0f2a2a919 100644 (file)
@@ -34,9 +34,7 @@
 #include "check_impl.h"
 #include "check_pack.h"
 
-#ifdef HAVE_PTHREAD
-pthread_mutex_t lock_mutex = PTHREAD_MUTEX_INITIALIZER;
-#else
+#ifndef HAVE_PTHREAD
 #define pthread_mutex_lock(arg)
 #define pthread_mutex_unlock(arg)
 #endif