Fix unused variable warning.
authorEric Christopher <echristo@apple.com>
Thu, 17 Dec 2009 19:07:19 +0000 (19:07 +0000)
committerEric Christopher <echristo@apple.com>
Thu, 17 Dec 2009 19:07:19 +0000 (19:07 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91609 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/ADT/SmallVector.h

index 6b448443c3c3fe37a67441fa6d8c308662f96a5c..30f0c50dad4d04f612e8d6375967a79004a4b9f6 100644 (file)
@@ -232,7 +232,7 @@ public:
   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.