]> Gitweb @ Texas Instruments - Open Source Git Repositories - git.TI.com/gitweb - opencl/llvm.git/commitdiff
Cast unused parameter to void.
authorHans Wennborg <hans@hanshq.net>
Sat, 4 Jun 2011 16:00:19 +0000 (16:00 +0000)
committerHans Wennborg <hans@hanshq.net>
Sat, 4 Jun 2011 16:00:19 +0000 (16:00 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@132641 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm-c/Core.h

index 70fc6999530b7d905b7c39231e719194a198b320..2eccc11aa468fa40e70172f2e49c07e0aed8d00c 100644 (file)
@@ -1166,6 +1166,7 @@ namespace llvm {
     for (LLVMValueRef *I = Vals, *E = Vals + Length; I != E; ++I)
       cast<T>(*I);
     #endif
+    (void)Length;
     return reinterpret_cast<T**>(Vals);
   }