From aafa3c7464ae4d2404f93bb1af946c982b3e5801 Mon Sep 17 00:00:00 2001 From: Russell Bryant Date: Fri, 18 Jun 2010 18:54:09 +0000 Subject: [PATCH] Remove an unnecessary assignment that causes a DEBUG_THREADS build failure on mac os x. git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@271340 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- include/asterisk/lock.h | 4 ---- 1 file changed, 4 deletions(-) diff --git a/include/asterisk/lock.h b/include/asterisk/lock.h index ff217a1e1f..d199f86db3 100644 --- a/include/asterisk/lock.h +++ b/include/asterisk/lock.h @@ -332,10 +332,6 @@ static inline int __ast_pthread_mutex_destroy(const char *filename, int lineno, if ((res = pthread_mutex_destroy(&t->mutex))) __ast_mutex_logger("%s line %d (%s): Error destroying mutex %s: %s\n", filename, lineno, func, mutex_name, strerror(res)); -#ifndef PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP - else - t->mutex = PTHREAD_MUTEX_INIT_VALUE; -#endif ast_reentrancy_lock(t); t->file[0] = filename; t->lineno[0] = lineno; -- 2.47.3