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

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@291691 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Davide Italiano 2017-01-11 19:05:27 +00:00
parent 9056d415cb
commit 83229eeee3

View File

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