From bb7d03ce5b3ce38e4de3b784961428957d73ea03 Mon Sep 17 00:00:00 2001 From: Francis Visoiu Mistrih Date: Mon, 8 Jul 2019 16:19:45 +0000 Subject: [PATCH] [Bitcode][NFC] Remove unused variable from BitcodeAnalyzer git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@365340 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Bitcode/Reader/BitcodeAnalyzer.cpp | 2 -- 1 file changed, 2 deletions(-) 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(); -- 2.50.1