[llvm] r365340 - [Bitcode][NFC] Remove unused variable from BitcodeAnalyzer
Francis Visoiu Mistrih via llvm-commits
llvm-commits at lists.llvm.org
Mon Jul 8 09:19:45 PDT 2019
Author: thegameg
Date: Mon Jul 8 09:19:45 2019
New Revision: 365340
URL: http://llvm.org/viewvc/llvm-project?rev=365340&view=rev
Log:
[Bitcode][NFC] Remove unused variable from BitcodeAnalyzer
Modified:
llvm/trunk/lib/Bitcode/Reader/BitcodeAnalyzer.cpp
Modified: llvm/trunk/lib/Bitcode/Reader/BitcodeAnalyzer.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Bitcode/Reader/BitcodeAnalyzer.cpp?rev=365340&r1=365339&r2=365340&view=diff
==============================================================================
--- llvm/trunk/lib/Bitcode/Reader/BitcodeAnalyzer.cpp (original)
+++ llvm/trunk/lib/Bitcode/Reader/BitcodeAnalyzer.cpp Mon Jul 8 09:19:45 2019
@@ -546,11 +546,9 @@ Error BitcodeAnalyzer::analyze(Optional<
// 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();
More information about the llvm-commits
mailing list