[lib/Object] Unbreak build with -Werror (unused variable). NFCI.

llvm-svn: 291691
This commit is contained in:
Davide Italiano 2017-01-11 19:05:27 +00:00
parent fd627bf86c
commit 3b5edf4fa7
1 changed files with 1 additions and 1 deletions

View File

@ -79,7 +79,7 @@ bool Decompressor::isGnuStyle(StringRef Name) {
bool Decompressor::isCompressed(const object::SectionRef &Section) { bool Decompressor::isCompressed(const object::SectionRef &Section) {
StringRef Name; StringRef Name;
if (std::error_code E = Section.getName(Name)) if (Section.getName(Name))
return false; return false;
return Section.isCompressed() || isGnuStyle(Name); return Section.isCompressed() || isGnuStyle(Name);
} }