[llvm-commits] [llvm] r132641 - /llvm/trunk/include/llvm-c/Core.h
Hans Wennborg
hans at hanshq.net
Sat Jun 4 09:00:19 PDT 2011
Author: hans
Date: Sat Jun 4 11:00:19 2011
New Revision: 132641
URL: http://llvm.org/viewvc/llvm-project?rev=132641&view=rev
Log:
Cast unused parameter to void.
Modified:
llvm/trunk/include/llvm-c/Core.h
Modified: llvm/trunk/include/llvm-c/Core.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm-c/Core.h?rev=132641&r1=132640&r2=132641&view=diff
==============================================================================
--- llvm/trunk/include/llvm-c/Core.h (original)
+++ llvm/trunk/include/llvm-c/Core.h Sat Jun 4 11:00:19 2011
@@ -1166,6 +1166,7 @@
for (LLVMValueRef *I = Vals, *E = Vals + Length; I != E; ++I)
cast<T>(*I);
#endif
+ (void)Length;
return reinterpret_cast<T**>(Vals);
}
More information about the llvm-commits
mailing list