From: Paul F. <pa...@so...> - 2024-09-28 06:33:18
|
https://sourceware.org/git/gitweb.cgi?p=valgrind.git;h=d224730c8861a1ac2578bcbcaf2f704f56257134 commit d224730c8861a1ac2578bcbcaf2f704f56257134 Author: Paul Floyd <pj...@wa...> Date: Sat Sep 28 08:32:35 2024 +0200 Compiler warning in ML_(check_elf_and_get_rw_loads) again This fime for p_vaddr Diff: --- coregrind/m_debuginfo/readelf.c | 1 + 1 file changed, 1 insertion(+) diff --git a/coregrind/m_debuginfo/readelf.c b/coregrind/m_debuginfo/readelf.c index 1d6ec55a0b..da548048df 100644 --- a/coregrind/m_debuginfo/readelf.c +++ b/coregrind/m_debuginfo/readelf.c @@ -3904,6 +3904,7 @@ Bool ML_(check_elf_and_get_rw_loads) ( Int fd, const HChar* filename, previous_rw_a_phdr.p_memsz = 0; /* and silence compiler warnings */ previous_rw_a_phdr.p_filesz = 0; + previous_rw_a_phdr.p_vaddr = 0; for (i = 0U; i < phdr_mnent; i++) { ElfXX_Phdr a_phdr; |