aboutsummaryrefslogtreecommitdiffstats
path: root/include/asterisk/lock.h
diff options
context:
space:
mode:
authorrussell <russell@f38db490-d61c-443f-a65b-d21fe96a405b>2010-06-18 18:54:09 +0000
committerrussell <russell@f38db490-d61c-443f-a65b-d21fe96a405b>2010-06-18 18:54:09 +0000
commit38ef01a74a52346301f1c2e327ee69187a08a59c (patch)
tree923b6ef261150cd66d4b020fb5283b87503b17d6 /include/asterisk/lock.h
parenta86568ced67ce349ccbe8dda33bdc893587c1db2 (diff)
Remove an unnecessary assignment that causes a DEBUG_THREADS build failure on mac os x.
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@271340 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'include/asterisk/lock.h')
-rw-r--r--include/asterisk/lock.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/include/asterisk/lock.h b/include/asterisk/lock.h
index ff217a1e1..d199f86db 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;