mirror of
https://github.com/asterisk/asterisk.git
synced 2026-04-29 10:13:06 +00:00
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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user