mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-06-24 08:24:33 +00:00
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
This commit is contained in:
@ -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
|
||||
|
Reference in New Issue
Block a user