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

lib/CodeGen/BranchFolding.cpp

index 3887e6d44e4b36086e18480ab7ee125dc605f200..6c8e09141bd71d666f71328ccb8df6568f997318 100644 (file)
@@ -1222,7 +1222,7 @@ ReoptimizeBlock:
         // Analyze the branch at the end of the pred.
         MachineBasicBlock *PredBB = *PI;
         MachineFunction::iterator PredFallthrough = PredBB; ++PredFallthrough;
-        MachineBasicBlock *PredTBB, *PredFBB;
+        MachineBasicBlock *PredTBB = 0, *PredFBB = 0;
         SmallVector<MachineOperand, 4> PredCond;
         if (PredBB != MBB && !PredBB->canFallThrough() &&
             !TII->AnalyzeBranch(*PredBB, PredTBB, PredFBB, PredCond, true)