From e31b9dcf912034593a6c93ac3799bef72309b138 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. llvm-svn: 312395 --- llvm/tools/llvm-pdbutil/InputFile.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/llvm/tools/llvm-pdbutil/InputFile.cpp b/llvm/tools/llvm-pdbutil/InputFile.cpp index f080a4cb2841..8b05381174df 100644 --- a/llvm/tools/llvm-pdbutil/InputFile.cpp +++ b/llvm/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);