Module: wine Branch: master Commit: 6b1bc0beac510aa48a848b8182b9310f92609dd0 URL: https://source.winehq.org/git/wine.git/?a=commit;h=6b1bc0beac510aa48a848b818...
Author: Jacek Caban jacek@codeweavers.com Date: Mon Apr 6 23:42:01 2020 +0200
dbghelp: Get rid of no longer needed HAVE_ZLIB checks.
Signed-off-by: Jacek Caban jacek@codeweavers.com Signed-off-by: Alexandre Julliard julliard@winehq.org
---
dlls/dbghelp/dwarf.c | 7 ------- 1 file changed, 7 deletions(-)
diff --git a/dlls/dbghelp/dwarf.c b/dlls/dbghelp/dwarf.c index 5925a00bfe..53274c4f59 100644 --- a/dlls/dbghelp/dwarf.c +++ b/dlls/dbghelp/dwarf.c @@ -3363,7 +3363,6 @@ static void dwarf2_location_compute(struct process* pcs, } }
-#ifdef HAVE_ZLIB static void *zalloc(void *priv, uInt items, uInt sz) { return HeapAlloc(GetProcessHeap(), 0, items * sz); @@ -3445,8 +3444,6 @@ out: return ret; }
-#endif - static inline BOOL dwarf2_init_section(dwarf2_section_t* section, struct image_file_map* fmap, const char* sectname, const char* zsectname, struct image_section_map* ism) @@ -3470,11 +3467,7 @@ static inline BOOL dwarf2_init_section(dwarf2_section_t* section, struct image_f
if (zsectname && image_find_section(fmap, zsectname, ism)) { -#ifdef HAVE_ZLIB return dwarf2_init_zsection(section, zsectname, ism); -#else - FIXME("dbghelp not built with zlib, but compressed section found\n" ); -#endif }
return FALSE;