Commit 061b50ed authored by Gerald Pfeifer's avatar Gerald Pfeifer Committed by Alexandre Julliard

dbghelp: Also return a value in an error case in elf_map_file_read.

parent a55962cf
......@@ -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;
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment