[llvm-pdbutil] Remove unused variables.

llvm-svn: 312395
This commit is contained in:
Zachary Turner 2017-09-02 00:09:43 +00:00
parent 387d0964ba
commit e31b9dcf91
1 changed files with 2 additions and 2 deletions

View File

@ -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);