From: Zachary Turner Date: Sat, 2 Sep 2017 00:09:43 +0000 (+0000) Subject: [llvm-pdbutil] Remove unused variables. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=5263738d53262fcf65a9c9de690a458db4f7cbb3;p=llvm [llvm-pdbutil] Remove unused variables. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@312395 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/tools/llvm-pdbutil/InputFile.cpp b/tools/llvm-pdbutil/InputFile.cpp index f080a4cb284..8b05381174d 100644 --- a/tools/llvm-pdbutil/InputFile.cpp +++ b/tools/llvm-pdbutil/InputFile.cpp @@ -64,13 +64,13 @@ static inline bool isCodeViewDebugSubsection(object::SectionRef Section, StringRef Name, BinaryStreamReader &Reader) { StringRef SectionName, Contents; - if (auto EC = Section.getName(SectionName)) + if (Section.getName(SectionName)) return false; if (SectionName != Name) return false; - if (auto EC = Section.getContents(Contents)) + if (Section.getContents(Contents)) return false; Reader = BinaryStreamReader(Contents, support::little);