diff options
-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); } |