From: Jim Grosbach Date: Wed, 14 Oct 2009 21:07:11 +0000 (+0000) Subject: quiet compiler warning X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=d0c38327547d6f864bec2e0b88042b1c97b89131;p=oota-llvm.git quiet compiler warning git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@84133 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/CodeGen/PrologEpilogInserter.cpp b/lib/CodeGen/PrologEpilogInserter.cpp index 8793df7705f..74cc18b9155 100644 --- a/lib/CodeGen/PrologEpilogInserter.cpp +++ b/lib/CodeGen/PrologEpilogInserter.cpp @@ -767,7 +767,7 @@ void PEI::scavengeFrameVirtualRegs(MachineFunction &Fn) { unsigned CurrentScratchReg = 0; bool havePrevValue = false; unsigned PrevScratchReg = 0; - int PrevValue; + int PrevValue = 0; MachineInstr *PrevLastUseMI = NULL; unsigned PrevLastUseOp = 0; bool trackingCurrentValue = false;