diff options
author | Chandler Carruth <chandlerc@gmail.com> | 2010-10-20 08:27:02 +0000 |
---|---|---|
committer | Chandler Carruth <chandlerc@gmail.com> | 2010-10-20 08:27:02 +0000 |
commit | 1cd9708f5cc13995a4e84ef498e4162a47f8b4f5 (patch) | |
tree | b35a4c5be93db596e5889b00a33558b652aa31bb /lib/System | |
parent | 3659ac22c0dcb64d69aa9b80d9979caf0cab2e4f (diff) |
Remove remaining uses of ATTRIBUTE_UNUSED on variables, and delete three
#includes in the process.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@116919 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/System')
-rw-r--r-- | lib/System/RWMutex.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/System/RWMutex.cpp b/lib/System/RWMutex.cpp index be41ee6847..deb04709d8 100644 --- a/lib/System/RWMutex.cpp +++ b/lib/System/RWMutex.cpp @@ -12,7 +12,6 @@ //===----------------------------------------------------------------------===// #include "llvm/Config/config.h" -#include "llvm/Support/Compiler.h" #include "llvm/System/RWMutex.h" #include <cstring> @@ -73,7 +72,8 @@ RWMutexImpl::RWMutexImpl() #endif // Initialize the rwlock - int ATTRIBUTE_UNUSED errorcode = pthread_rwlock_init(rwlock, NULL); + int errorcode = pthread_rwlock_init(rwlock, NULL); + (void)errorcode; assert(errorcode == 0); // Assign the data member |