forked from OSchip/llvm-project
[lib/Object] Unbreak build with -Werror (unused variable). NFCI.
llvm-svn: 291691
This commit is contained in:
parent
fd627bf86c
commit
3b5edf4fa7
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue