[llvm] r213554 - Remove unused variable.
David Blaikie
dblaikie at gmail.com
Mon Jul 21 09:13:24 PDT 2014
Author: dblaikie
Date: Mon Jul 21 11:13:24 2014
New Revision: 213554
URL: http://llvm.org/viewvc/llvm-project?rev=213554&view=rev
Log:
Remove unused variable.
Modified:
llvm/trunk/lib/Object/Archive.cpp
Modified: llvm/trunk/lib/Object/Archive.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Object/Archive.cpp?rev=213554&r1=213553&r2=213554&view=diff
==============================================================================
--- llvm/trunk/lib/Object/Archive.cpp (original)
+++ llvm/trunk/lib/Object/Archive.cpp Mon Jul 21 11:13:24 2014
@@ -177,7 +177,6 @@ Archive::Child::getMemoryBuffer(bool Ful
ErrorOr<std::unique_ptr<Binary>>
Archive::Child::getAsBinary(LLVMContext *Context) const {
- std::unique_ptr<Binary> ret;
ErrorOr<std::unique_ptr<MemoryBuffer>> BuffOrErr = getMemoryBuffer();
if (std::error_code EC = BuffOrErr.getError())
return EC;
More information about the llvm-commits
mailing list