aboutsummaryrefslogtreecommitdiffstats
path: root/include/llvm/ADT/SmallVector.h
diff options
context:
space:
mode:
authorEric Christopher <echristo@apple.com>2009-12-17 19:07:19 +0000
committerEric Christopher <echristo@apple.com>2009-12-17 19:07:19 +0000
commitaf15ffb9127dff185b74ff8b37a9d570ca547c61 (patch)
treeeef00d2f9d2aaf89ac622baafc4e319dfc70383e /include/llvm/ADT/SmallVector.h
parent39c88a641b6bf9cea7d270ccee85992f9c30f40f (diff)
downloadexternal_llvm-af15ffb9127dff185b74ff8b37a9d570ca547c61.zip
external_llvm-af15ffb9127dff185b74ff8b37a9d570ca547c61.tar.gz
external_llvm-af15ffb9127dff185b74ff8b37a9d570ca547c61.tar.bz2
Fix unused variable warning.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91609 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/ADT/SmallVector.h')
-rw-r--r--include/llvm/ADT/SmallVector.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/llvm/ADT/SmallVector.h b/include/llvm/ADT/SmallVector.h
index 6b44844..30f0c50 100644
--- a/include/llvm/ADT/SmallVector.h
+++ b/include/llvm/ADT/SmallVector.h
@@ -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.