[asterisk-commits] russell: branch 1.4 r271340 - /branches/1.4/include/asterisk/lock.h

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Fri Jun 18 13:54:13 CDT 2010


Author: russell
Date: Fri Jun 18 13:54:09 2010
New Revision: 271340

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=271340
Log:
Remove an unnecessary assignment that causes a DEBUG_THREADS build failure on mac os x.

Modified:
    branches/1.4/include/asterisk/lock.h

Modified: branches/1.4/include/asterisk/lock.h
URL: http://svnview.digium.com/svn/asterisk/branches/1.4/include/asterisk/lock.h?view=diff&rev=271340&r1=271339&r2=271340
==============================================================================
--- branches/1.4/include/asterisk/lock.h (original)
+++ branches/1.4/include/asterisk/lock.h Fri Jun 18 13:54:09 2010
@@ -332,10 +332,6 @@
 	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;




More information about the asterisk-commits mailing list