From 83229eeee3d299b73ef9a27540f657d06eac398f Mon Sep 17 00:00:00 2001 From: Davide Italiano Date: Wed, 11 Jan 2017 19:05:27 +0000 Subject: [PATCH] [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 --- lib/Object/Decompressor.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Object/Decompressor.cpp b/lib/Object/Decompressor.cpp index fc9beca4641..bca41fd9f48 100644 --- a/lib/Object/Decompressor.cpp +++ b/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); } -- 2.40.0