mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-05-29 13:20:54 +00:00
Fix "-Wshadow" error on "read" variable
This commit is contained in:
committed by
Baldur Karlsson
parent
1622667bf8
commit
062bc2b470
@@ -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(§ion_header, sizeof(section_header), 1, elf);
|
||||
read = FileIO::fread(§ion_header, sizeof(section_header), 1, elf);
|
||||
|
||||
if(read != 1)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user