[Bitcode][NFC] Remove unused variable from BitcodeAnalyzer

llvm-svn: 365340
This commit is contained in:
Francis Visoiu Mistrih
2019-07-08 16:19:45 +00:00
parent 472e5dda11
commit d6fd354f3f

View 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();