From 4afb312617a1c6cad48f78f4b929d6e304c926b2 Mon Sep 17 00:00:00 2001 From: Duncan Sands Date: Thu, 20 Oct 2011 08:56:41 +0000 Subject: [PATCH] Avoid warnings about the parameter G being unused. llvm-svn: 142573 --- include/llvm/ADT/SCCIterator.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/llvm/ADT/SCCIterator.h b/include/llvm/ADT/SCCIterator.h index 650203e5ee6..48436c66747 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 {