Fix a spurious warning.
authorChris Lattner <sabre@nondot.org>
Mon, 24 Jan 2005 01:40:18 +0000 (01:40 +0000)
committerChris Lattner <sabre@nondot.org>
Mon, 24 Jan 2005 01:40:18 +0000 (01:40 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@19799 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Target/SparcV9/SparcV9BurgISel.cpp

index ae638c7c5f808b05aa29e2d555b72548c871a486..f7dcb680cd6a241c9708d6e4c453ff9b7ae8b90f 100644 (file)
@@ -627,7 +627,7 @@ CreateSETUWConst(uint32_t C,
   bool smallNegValue =isSigned && sC < 0 && sC != -sC && -sC < (int32_t)MAXSIMM;
 
   //Create TmpInstruction for intermediate values
-  TmpInstruction *tmpReg;
+  TmpInstruction *tmpReg = 0;
 
   // Set the high 22 bits in dest if non-zero and simm13 field of OR not enough
   if (!smallNegValue && (C & ~MAXLO) && C > MAXSIMM) {