summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Object/Decompressor.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/lib/Object/Decompressor.cpp')
-rw-r--r--llvm/lib/Object/Decompressor.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Object/Decompressor.cpp b/llvm/lib/Object/Decompressor.cpp
index fc9beca4641..bca41fd9f48 100644
--- a/llvm/lib/Object/Decompressor.cpp
+++ b/llvm/lib/Object/Decompressor.cpp
@@ -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);
}
OpenPOWER on IntegriCloud