diff --git a/lib/Object/Archive.cpp b/lib/Object/Archive.cpp index 6d09bdbac06..63877913937 100644 --- a/lib/Object/Archive.cpp +++ b/lib/Object/Archive.cpp @@ -177,7 +177,6 @@ Archive::Child::getMemoryBuffer(bool FullPath) const { ErrorOr> Archive::Child::getAsBinary(LLVMContext *Context) const { - std::unique_ptr ret; ErrorOr> BuffOrErr = getMemoryBuffer(); if (std::error_code EC = BuffOrErr.getError()) return EC;