[llvm-commits] [llvm] r110667 - /llvm/trunk/lib/System/RWMutex.cpp
Chandler Carruth
chandlerc at gmail.com
Tue Aug 10 03:39:25 PDT 2010
Author: chandlerc
Date: Tue Aug 10 05:39:25 2010
New Revision: 110667
URL: http://llvm.org/viewvc/llvm-project?rev=110667&view=rev
Log:
Mark this variable as used.
Modified:
llvm/trunk/lib/System/RWMutex.cpp
Modified: llvm/trunk/lib/System/RWMutex.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/System/RWMutex.cpp?rev=110667&r1=110666&r2=110667&view=diff
==============================================================================
--- llvm/trunk/lib/System/RWMutex.cpp (original)
+++ llvm/trunk/lib/System/RWMutex.cpp Tue Aug 10 05:39:25 2010
@@ -73,6 +73,7 @@
// Initialize the rwlock
int errorcode = pthread_rwlock_init(rwlock, NULL);
+ (void)errorcode;
assert(errorcode == 0);
// Assign the data member
More information about the llvm-commits
mailing list