mirror of
https://github.com/RPCS3/llvm.git
synced 2025-02-12 13:48:45 +00:00
[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:
parent
9056d415cb
commit
83229eeee3
@ -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…
x
Reference in New Issue
Block a user