From: Francis Visoiu Mistrih Date: Mon, 8 Jul 2019 16:19:45 +0000 (+0000) Subject: [Bitcode][NFC] Remove unused variable from BitcodeAnalyzer X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=bb7d03ce5b3ce38e4de3b784961428957d73ea03;p=llvm [Bitcode][NFC] Remove unused variable from BitcodeAnalyzer git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@365340 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Bitcode/Reader/BitcodeAnalyzer.cpp b/lib/Bitcode/Reader/BitcodeAnalyzer.cpp index 0a043f934a0..7a35b827dbf 100644 --- a/lib/Bitcode/Reader/BitcodeAnalyzer.cpp +++ b/lib/Bitcode/Reader/BitcodeAnalyzer.cpp @@ -546,11 +546,9 @@ Error BitcodeAnalyzer::analyze(Optional O, // The block info must be a top-level block. if (BlockInfoStream) { BitstreamCursor BlockInfoCursor(*BlockInfoStream); - CurStreamTypeType BlockInfoStreamType; Expected H = analyzeHeader(O, BlockInfoCursor); if (!H) return H.takeError(); - BlockInfoStreamType = *H; while (!BlockInfoCursor.AtEndOfStream()) { Expected MaybeCode = BlockInfoCursor.ReadCode();