From bd7715b18068332dbafac7064312a410457d7314 Mon Sep 17 00:00:00 2001 From: Eladash Date: Tue, 8 Aug 2023 10:01:51 +0300 Subject: [PATCH] ELF.h: fix warning --- rpcs3/Loader/ELF.h | 1 - 1 file changed, 1 deletion(-) diff --git a/rpcs3/Loader/ELF.h b/rpcs3/Loader/ELF.h index 831e58dea1f4..abb9979c1973 100644 --- a/rpcs3/Loader/ELF.h +++ b/rpcs3/Loader/ELF.h @@ -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;