System/Path/Windows: Change GetRootDirectory to return file:/// instead of C:/.
[oota-llvm.git] / lib / System / RWMutex.cpp
index be41ee6847d22e24d3174ff660c2429aec66cef5..deb04709d829c6e5c2910ea336e2d6a214052603 100644 (file)
@@ -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