]> granicus.if.org Git - llvm/commitdiff
[Bitcode][NFC] Remove unused variable from BitcodeAnalyzer
authorFrancis Visoiu Mistrih <francisvm@yahoo.com>
Mon, 8 Jul 2019 16:19:45 +0000 (16:19 +0000)
committerFrancis Visoiu Mistrih <francisvm@yahoo.com>
Mon, 8 Jul 2019 16:19:45 +0000 (16:19 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@365340 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Bitcode/Reader/BitcodeAnalyzer.cpp

index 0a043f934a04b85661ee015431214d179ae9305f..7a35b827dbfe0fa7451359aef421a8ab92a5dad6 100644 (file)
@@ -546,11 +546,9 @@ Error BitcodeAnalyzer::analyze(Optional<BCDumpOptions> O,
   // The block info must be a top-level block.
   if (BlockInfoStream) {
     BitstreamCursor BlockInfoCursor(*BlockInfoStream);
-    CurStreamTypeType BlockInfoStreamType;
     Expected<CurStreamTypeType> H = analyzeHeader(O, BlockInfoCursor);
     if (!H)
       return H.takeError();
-    BlockInfoStreamType = *H;
 
     while (!BlockInfoCursor.AtEndOfStream()) {
       Expected<unsigned> MaybeCode = BlockInfoCursor.ReadCode();