From ae22c60f9024fc217227935d10d4dec155ccb7b2 Mon Sep 17 00:00:00 2001 From: Duncan Sands Date: Sun, 5 Feb 2012 14:20:11 +0000 Subject: Persuade GCC that there is nothing worth warning about here (there isn't). llvm-svn: 149834 --- llvm/lib/Support/Mutex.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'llvm/lib/Support/Mutex.cpp') diff --git a/llvm/lib/Support/Mutex.cpp b/llvm/lib/Support/Mutex.cpp index e146b8b0ed1..da5baab4be4 100644 --- a/llvm/lib/Support/Mutex.cpp +++ b/llvm/lib/Support/Mutex.cpp @@ -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. -- cgit v1.2.3