From 28962f353b16f34571b3ed3127f7e17e1c0a76f2 Mon Sep 17 00:00:00 2001 From: Vladimir Prus Date: Thu, 8 Jun 2006 16:03:13 +0000 Subject: [PATCH] Remove dead code. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28725 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/VMCore/BasicBlock.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/VMCore/BasicBlock.cpp b/lib/VMCore/BasicBlock.cpp index c93f5584d27..18a90d6b443 100644 --- a/lib/VMCore/BasicBlock.cpp +++ b/lib/VMCore/BasicBlock.cpp @@ -123,7 +123,7 @@ const TerminatorInst *const BasicBlock::getTerminator() const { Instruction* BasicBlock::getFirstNonPHI() { - BasicBlock::iterator i = begin(), e = end(); + BasicBlock::iterator i = begin(); // All valid basic blocks should have a terminator, // which is not a PHINode. If we have invalid basic // block we'll get assert when dereferencing past-the-end