Persuade GCC that there is nothing worth warning about here (there isn't).

llvm-svn: 149834
This commit is contained in:
Duncan Sands
2012-02-05 14:20:11 +00:00
parent efabc2572f
commit ae22c60f90
6 changed files with 7 additions and 5 deletions

View File

@@ -51,7 +51,7 @@ MutexImpl::MutexImpl( bool recursive)
// Initialize the mutex attributes
int errorcode = pthread_mutexattr_init(&attr);
assert(errorcode == 0);
assert(errorcode == 0); (void)errorcode;
// Initialize the mutex as a recursive mutex, if requested, or normal
// otherwise.