From: Mehdi Amini Date: Fri, 11 Nov 2016 04:50:18 +0000 (+0000) Subject: Fix build failure, update llvm-strings for the new Error API X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=274b04e1a0201d37f88570072481d847dfd5e387;p=llvm Fix build failure, update llvm-strings for the new Error API git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@286563 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/tools/llvm-strings/llvm-strings.cpp b/tools/llvm-strings/llvm-strings.cpp index ccad061522f..d590b7012b6 100644 --- a/tools/llvm-strings/llvm-strings.cpp +++ b/tools/llvm-strings/llvm-strings.cpp @@ -60,7 +60,7 @@ class Strings { } void dump(const Archive *A) { - Error E; + Error E = Error::success(); for (auto &Element : A->children(E)) { if (Expected> Child = Element.getAsBinary(&Context)) {