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

This commit is contained in:
Gerald Pfeifer 2011-01-01 14:32:05 +01:00 committed by Alexandre Julliard
parent a55962cf41
commit 061b50eda5

View File

@ -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;
}
}