//===----------------------------------------------------------------------===//
#include "llvm/Config/config.h"
-#include "llvm/Support/Compiler.h"
#include "llvm/System/RWMutex.h"
#include <cstring>
#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