[lld] r221572 - [ELF] Remove unused variable
Shankar Easwaran
shankare at codeaurora.org
Fri Nov 7 20:03:25 PST 2014
Author: shankare
Date: Fri Nov 7 22:03:24 2014
New Revision: 221572
URL: http://llvm.org/viewvc/llvm-project?rev=221572&view=rev
Log:
[ELF] Remove unused variable
Modified:
lld/trunk/lib/ReaderWriter/ELF/SegmentChunks.h
Modified: lld/trunk/lib/ReaderWriter/ELF/SegmentChunks.h
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/lib/ReaderWriter/ELF/SegmentChunks.h?rev=221572&r1=221571&r2=221572&view=diff
==============================================================================
--- lld/trunk/lib/ReaderWriter/ELF/SegmentChunks.h (original)
+++ lld/trunk/lib/ReaderWriter/ELF/SegmentChunks.h Fri Nov 7 22:03:24 2014
@@ -418,7 +418,6 @@ void Segment<ELFT>::assignFileOffsets(ui
else {
// Align according to ELF spec.
// in p75, http://www.sco.com/developers/devspecs/gabi41.pdf
- uint64_t padding = 0;
uint64_t virtualAddress = slice->virtualAddr();
Section<ELFT> *sect = dyn_cast<Section<ELFT>>(section);
if (sect && sect->isLoadableSection() &&
More information about the llvm-commits
mailing list