summaryrefslogtreecommitdiff
path: root/main/lock.c
diff options
context:
space:
mode:
Diffstat (limited to 'main/lock.c')
-rw-r--r--main/lock.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/main/lock.c b/main/lock.c
index eef5d8621..3c9fbd4db 100644
--- a/main/lock.c
+++ b/main/lock.c
@@ -51,8 +51,8 @@ int __ast_pthread_mutex_init(int tracking, const char *filename, int lineno, con
int res;
pthread_mutexattr_t attr;
- t->track = NULL;
#ifdef DEBUG_THREADS
+ t->track = NULL;
#if defined(AST_MUTEX_INIT_W_CONSTRUCTORS) && defined(CAN_COMPARE_MUTEX_TO_INIT_VALUE)
if ((t->mutex) != ((pthread_mutex_t) PTHREAD_MUTEX_INITIALIZER)) {
/*