Silence compiler warning.
authorNick Lewycky <nicholas@mxc.ca>
Wed, 29 Sep 2010 23:32:20 +0000 (23:32 +0000)
committerNick Lewycky <nicholas@mxc.ca>
Wed, 29 Sep 2010 23:32:20 +0000 (23:32 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@115107 91177308-0d34-0410-b5e6-96231b3b80d8

lib/AsmParser/LLParser.cpp

index e940f4a57eabd2ec5b2d1bc05e4865c20cd22628..c4fce2be6ee309051bd12a3e1a0a325ad7b4421b 100644 (file)
@@ -1248,7 +1248,7 @@ bool LLParser::ParseIndexList(SmallVectorImpl<unsigned> &Indices,
       AteExtraComma = true;
       return false;
     }
-    unsigned Idx;
+    unsigned Idx = 0;
     if (ParseUInt32(Idx)) return true;
     Indices.push_back(Idx);
   }