From: Eric Christopher Date: Thu, 17 Dec 2009 19:07:19 +0000 (+0000) Subject: Fix unused variable warning. X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=af15ffb9127dff185b74ff8b37a9d570ca547c61;p=oota-llvm.git Fix unused variable warning. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91609 91177308-0d34-0410-b5e6-96231b3b80d8 --- 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.