summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorDuncan Sands <baldrick@free.fr>2011-10-20 08:56:41 +0000
committerDuncan Sands <baldrick@free.fr>2011-10-20 08:56:41 +0000
commitf6eede5258af1b144e0777c25d89c57514a71371 (patch)
treef002401ad2b6308d56ed3130ed4f95f298408916 /include
parentc66330504c3f433430a28cd7f7f981e555c51bce (diff)
downloadllvm-f6eede5258af1b144e0777c25d89c57514a71371.tar.gz
llvm-f6eede5258af1b144e0777c25d89c57514a71371.tar.bz2
llvm-f6eede5258af1b144e0777c25d89c57514a71371.tar.xz
Avoid warnings about the parameter G being unused.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@142573 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
-rw-r--r--include/llvm/ADT/SCCIterator.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/llvm/ADT/SCCIterator.h b/include/llvm/ADT/SCCIterator.h
index 650203e5ee..48436c6674 100644
--- a/include/llvm/ADT/SCCIterator.h
+++ b/include/llvm/ADT/SCCIterator.h
@@ -139,7 +139,7 @@ public:
// Provide static "constructors"...
static inline _Self begin(const GraphT &G){return _Self(GT::getEntryNode(G));}
- static inline _Self end (const GraphT &G) { return _Self(); }
+ static inline _Self end (const GraphT &) { return _Self(); }
// Direct loop termination test: I.isAtEnd() is more efficient than I == end()
inline bool isAtEnd() const {