[llvm-commits] [llvm] r91609 - /llvm/trunk/include/llvm/ADT/SmallVector.h

Eric Christopher echristo at apple.com
Thu Dec 17 11:07:20 PST 2009


Author: echristo
Date: Thu Dec 17 13:07:19 2009
New Revision: 91609

URL: http://llvm.org/viewvc/llvm-project?rev=91609&view=rev
Log:
Fix unused variable warning.

Modified:
    llvm/trunk/include/llvm/ADT/SmallVector.h

Modified: llvm/trunk/include/llvm/ADT/SmallVector.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/ADT/SmallVector.h?rev=91609&r1=91608&r2=91609&view=diff

==============================================================================
--- llvm/trunk/include/llvm/ADT/SmallVector.h (original)
+++ llvm/trunk/include/llvm/ADT/SmallVector.h Thu Dec 17 13:07:19 2009
@@ -232,7 +232,7 @@
   SmallVectorTemplateBase(size_t Size) : SmallVectorTemplateCommon<T>(Size) {}
   
   // No need to do a destroy loop for POD's.
-  static void destroy_range(T *S, T *E) {}
+  static void destroy_range(T *, T *) {}
   
   /// uninitialized_copy - Copy the range [I, E) onto the uninitialized memory
   /// starting with "Dest", constructing elements into it as needed.





More information about the llvm-commits mailing list