From 5263738d53262fcf65a9c9de690a458db4f7cbb3 Mon Sep 17 00:00:00 2001 From: Zachary Turner Date: Sat, 2 Sep 2017 00:09:43 +0000 Subject: [PATCH] [llvm-pdbutil] Remove unused variables. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@312395 91177308-0d34-0410-b5e6-96231b3b80d8 --- tools/llvm-pdbutil/InputFile.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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); -- 2.50.1