Skip to content

Commit 8ccb69f

Browse files
committed
Remove unused variable.
Test: Builds with -Wunused-variable Change-Id: I043733e9ea982ecd0c4b2e52597cc2c396dccf02
1 parent 7af9bf0 commit 8ccb69f

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

linker/linker_phdr.cpp

-1
Original file line numberDiff line numberDiff line change
@@ -976,7 +976,6 @@ bool ElfReader::LoadSegments() {
976976
ElfW(Addr) seg_start = phdr->p_vaddr + load_bias_;
977977
ElfW(Addr) seg_end = seg_start + p_memsz;
978978

979-
ElfW(Addr) seg_page_start = page_start(seg_start);
980979
ElfW(Addr) seg_page_end = page_end(seg_end);
981980

982981
ElfW(Addr) seg_file_end = seg_start + p_filesz;

0 commit comments

Comments
 (0)