From 3ef10858deb28748bef374bd4fcce4cc57045b26 Mon Sep 17 00:00:00 2001 From: Bill Wendling Date: Mon, 28 Dec 2009 01:42:12 +0000 Subject: [PATCH] Remove dead variable. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@92186 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Target/MSIL/MSILWriter.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/lib/Target/MSIL/MSILWriter.cpp b/lib/Target/MSIL/MSILWriter.cpp index b1661fee5ab..b3b91daef90 100644 --- a/lib/Target/MSIL/MSILWriter.cpp +++ b/lib/Target/MSIL/MSILWriter.cpp @@ -556,8 +556,7 @@ void MSILWriter::printSimpleInstruction(const char* Inst, const char* Operand) { void MSILWriter::printPHICopy(const BasicBlock* Src, const BasicBlock* Dst) { - for (BasicBlock::const_iterator I = Dst->begin(), E = Dst->end(); - isa(I); ++I) { + for (BasicBlock::const_iterator I = Dst->begin(); isa(I); ++I) { const PHINode* Phi = cast(I); const Value* Val = Phi->getIncomingValueForBlock(Src); if (isa(Val)) continue; -- 2.34.1