From af15ffb9127dff185b74ff8b37a9d570ca547c61 Mon Sep 17 00:00:00 2001 From: Eric Christopher Date: Thu, 17 Dec 2009 19:07:19 +0000 Subject: [PATCH] Fix unused variable warning. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91609 91177308-0d34-0410-b5e6-96231b3b80d8 --- include/llvm/ADT/SmallVector.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/llvm/ADT/SmallVector.h b/include/llvm/ADT/SmallVector.h index 6b448443c3c..30f0c50dad4 100644 --- a/include/llvm/ADT/SmallVector.h +++ b/include/llvm/ADT/SmallVector.h @@ -232,7 +232,7 @@ public: SmallVectorTemplateBase(size_t Size) : SmallVectorTemplateCommon(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. -- 2.34.1