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
This commit is contained in:
Russell Bryant
2010-06-18 18:54:09 +00:00
parent f311d0ac18
commit aafa3c7464

View File

@@ -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;