Skip to content

Commit 2aad046

Browse files
committed
Fix build failure, update llvm-strings for the new Error API
llvm-svn: 286563
1 parent c1edf56 commit 2aad046

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

llvm/tools/llvm-strings/llvm-strings.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ class Strings {
6060
}
6161

6262
void dump(const Archive *A) {
63-
Error E;
63+
Error E = Error::success();
6464
for (auto &Element : A->children(E)) {
6565
if (Expected<std::unique_ptr<Binary>> Child =
6666
Element.getAsBinary(&Context)) {

0 commit comments

Comments
 (0)