diff options
author | NAKAMURA Takumi <geek4civic@gmail.com> | 2011-03-18 03:21:11 +0000 |
---|---|---|
committer | NAKAMURA Takumi <geek4civic@gmail.com> | 2011-03-18 03:21:11 +0000 |
commit | 0e8d588948cc4483f3f19e388d18e8a07c7574df (patch) | |
tree | 14c90f830e30ba068e037c796c1c5f94d23e5097 /tools/lto | |
parent | 3bc729c3b37c2fa2fed347de3b6b36ddccad3368 (diff) | |
download | external_llvm-0e8d588948cc4483f3f19e388d18e8a07c7574df.zip external_llvm-0e8d588948cc4483f3f19e388d18e8a07c7574df.tar.gz external_llvm-0e8d588948cc4483f3f19e388d18e8a07c7574df.tar.bz2 |
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
Diffstat (limited to 'tools/lto')
-rw-r--r-- | tools/lto/LTOModule.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/tools/lto/LTOModule.cpp b/tools/lto/LTOModule.cpp index 310e647..4e9e74f 100644 --- a/tools/lto/LTOModule.cpp +++ b/tools/lto/LTOModule.cpp @@ -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); } |