Avoid warnings about the parameter G being unused.
authorDuncan Sands <baldrick@free.fr>
Thu, 20 Oct 2011 08:56:41 +0000 (08:56 +0000)
committerDuncan Sands <baldrick@free.fr>
Thu, 20 Oct 2011 08:56:41 +0000 (08:56 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@142573 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/ADT/SCCIterator.h

index 650203e5ee6b4b549f3bb38e084bfa33ea2e6e8b..48436c667474c8342e24b33f2ad809dfb82bfaef 100644 (file)
@@ -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 {