diff options
Diffstat (limited to 'lld')
| -rw-r--r-- | lld/ELF/Driver.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lld/ELF/Driver.cpp b/lld/ELF/Driver.cpp index 3c893cbfdbb..8fd613790cb 100644 --- a/lld/ELF/Driver.cpp +++ b/lld/ELF/Driver.cpp @@ -102,7 +102,7 @@ LinkerDriver::getArchiveMembers(MemoryBufferRef MB) { check(Archive::create(MB), "failed to parse archive"); std::vector<MemoryBufferRef> V; - Error Err; + Error Err = Error::success(); for (const ErrorOr<Archive::Child> &COrErr : File->children(Err)) { Archive::Child C = check(COrErr, "could not get the child of the archive " + File->getFileName()); |

