Fix "-Wshadow" error on "read" variable

This commit is contained in:
Jake Turner
2022-07-18 17:46:27 +01:00
committed by Baldur Karlsson
parent 1622667bf8
commit 062bc2b470
+1 -1
View File
@@ -432,7 +432,7 @@ bool StopChildAtMain(pid_t childPid)
for(Elf64_Half s = 0; s < elf_header.e_shnum; s++)
{
Elf64_Shdr section_header;
size_t read = FileIO::fread(&section_header, sizeof(section_header), 1, elf);
read = FileIO::fread(&section_header, sizeof(section_header), 1, elf);
if(read != 1)
{