[lib/Object] Unbreak build with -Werror (unused variable). NFCI.
llvm-svn: 291691
diff --git a/llvm/lib/Object/Decompressor.cpp b/llvm/lib/Object/Decompressor.cpp
index fc9beca..bca41fd 100644
--- a/llvm/lib/Object/Decompressor.cpp
+++ b/llvm/lib/Object/Decompressor.cpp
@@ -79,7 +79,7 @@
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);
}