Skip to content

Commit

Permalink
ELF.h: fix warning
Browse files Browse the repository at this point in the history
  • Loading branch information
elad335 committed Aug 8, 2023
1 parent df24305 commit bd7715b
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion rpcs3/Loader/ELF.h
Original file line number Diff line number Diff line change
Expand Up @@ -456,7 +456,6 @@ class elf_object
// 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;
Expand Down

0 comments on commit bd7715b

Please sign in to comment.