tools/lto/LTOModule.cpp: Eliminate an unused variable.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@127859 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
NAKAMURA Takumi 2011-03-18 03:21:11 +00:00
parent 3bc729c3b3
commit 0e8d588948

View File

@ -117,7 +117,6 @@ LTOModule *LTOModule::makeLTOModule(int fd, const char *path,
/// makeBuffer - Create a MemoryBuffer from a memory range.
MemoryBuffer *LTOModule::makeBuffer(const void *mem, size_t length) {
const char *startPtr = (char*)mem;
const char *endPtr = startPtr+length;
return MemoryBuffer::getMemBuffer(StringRef(startPtr, length), "", false);
}