mirror of
https://github.com/reactos/wine.git
synced 2024-11-24 12:20:07 +00:00
dbghelp: Also return a value in an error case in elf_map_file_read.
This commit is contained in:
parent
a55962cf41
commit
061b50eda5
@ -261,7 +261,9 @@ static BOOL elf_map_file_read(struct image_file_map* fmap, struct elf_map_file_d
|
||||
return ReadProcessMemory(emfd->u.process.handle,
|
||||
(void*)((unsigned long)emfd->u.process.load_addr + (unsigned long)off),
|
||||
buf, len, &dw) && dw == len;
|
||||
default: assert(0);
|
||||
default:
|
||||
assert(0);
|
||||
return FALSE;
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user