summaryrefslogtreecommitdiffstats
path: root/llvm/include
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
commit2d1ffe028fdad624c19cb69d1322b6639ba06ee3 (patch)
tree5026fccea2c780dae607b07a78a06783833fd5b2 /llvm/include
parentf3927b7994206f98eb591768e42a237bf6e04677 (diff)
downloadbcm5719-llvm-2d1ffe028fdad624c19cb69d1322b6639ba06ee3.tar.gz
bcm5719-llvm-2d1ffe028fdad624c19cb69d1322b6639ba06ee3.zip
Fix unused variable warning.
llvm-svn: 91609
Diffstat (limited to 'llvm/include')
-rw-r--r--llvm/include/llvm/ADT/SmallVector.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/include/llvm/ADT/SmallVector.h b/llvm/include/llvm/ADT/SmallVector.h
index 6b448443c3c..30f0c50dad4 100644
--- a/llvm/include/llvm/ADT/SmallVector.h
+++ b/llvm/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.
OpenPOWER on IntegriCloud