1
0
mirror of https://github.com/RPCS3/rpcs3.git synced 2024-11-22 10:42:36 +01:00

ELF.h: fix warning

This commit is contained in:
Eladash 2023-08-08 10:01:51 +03:00 committed by Elad Ashkenazi
parent df24305698
commit bd7715b180

View File

@ -456,7 +456,6 @@ public:
// Rely on previous sh_offset value!
if (hdr.p_offset <= shdr.sh_offset && shdr.sh_offset + shdr.sh_size - 1 <= hdr.p_offset + hdr.p_filesz - 1)
{
const auto& prog = ::at32(progs, p_index);
out.sh_offset = data_base + shdr.sh_offset - hdr.p_offset;
result = true;
break;