From: Russell Bryant Date: Fri, 18 Jun 2010 18:54:09 +0000 (+0000) Subject: Remove an unnecessary assignment that causes a DEBUG_THREADS build failure on mac... X-Git-Tag: 1.4.34-rc1~2^2~19 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=aafa3c7464ae4d2404f93bb1af946c982b3e5801;p=thirdparty%2Fasterisk.git 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 --- 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;