28 May
2024
28 May
'24
9:10 p.m.
eric pouech (@epo) commented about tools/winedump/pe.c:
static void dump_dir_exceptions(void) { static const void *arm64_funcs; - unsigned int i, size; + unsigned int i, size = 0; to follow the logic of the code, I'd rather do something like: if (!(funcs = get_dir_and...))) size = 0; all the other helpers for dumping other directories abort when directory is not present
-- https://gitlab.winehq.org/wine/wine/-/merge_requests/5625#note_70226