]> git.ipfire.org Git - thirdparty/asterisk.git/commitdiff
Remove an unnecessary assignment that causes a DEBUG_THREADS build failure on mac...
authorRussell Bryant <russell@russellbryant.com>
Fri, 18 Jun 2010 18:54:09 +0000 (18:54 +0000)
committerRussell Bryant <russell@russellbryant.com>
Fri, 18 Jun 2010 18:54:09 +0000 (18:54 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@271340 65c4cc65-6c06-0410-ace0-fbb531ad65f3

include/asterisk/lock.h

index ff217a1e1fcfab3901b6a398a45c9a26e79c3567..d199f86db37c23c23965142f18c1a53e84c45788 100644 (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;