Initialize uninitialized variables.
authorBill Wendling <isanbard@gmail.com>
Wed, 16 Dec 2009 00:01:27 +0000 (00:01 +0000)
committerBill Wendling <isanbard@gmail.com>
Wed, 16 Dec 2009 00:01:27 +0000 (00:01 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91477 91177308-0d34-0410-b5e6-96231b3b80d8

lib/CodeGen/BranchFolding.cpp

index 6c8e09141bd71d666f71328ccb8df6568f997318..6d30f6e59334df139e32e4bea4d257fe370c8ff7 100644 (file)
@@ -1274,7 +1274,7 @@ ReoptimizeBlock:
       // Okay, there is no really great place to put this block.  If, however,
       // the block before this one would be a fall-through if this block were
       // removed, move this block to the end of the function.
-      MachineBasicBlock *PrevTBB, *PrevFBB;
+      MachineBasicBlock *PrevTBB = 0, *PrevFBB = 0;
       SmallVector<MachineOperand, 4> PrevCond;
       if (FallThrough != MF.end() &&
           !TII->AnalyzeBranch(PrevBB, PrevTBB, PrevFBB, PrevCond, true) &&