[PATCH 05/11] dbghelp: Remove the unused arch_size field of struct macho_file_map.
Ken Thomases
ken at codeweavers.com
Wed Jun 24 17:13:57 CDT 2015
It was set, but never read.
---
dlls/dbghelp/macho_module.c | 3 ---
1 file changed, 3 deletions(-)
diff --git a/dlls/dbghelp/macho_module.c b/dlls/dbghelp/macho_module.c
index 54801ef..0e353e7 100644
--- a/dlls/dbghelp/macho_module.c
+++ b/dlls/dbghelp/macho_module.c
@@ -129,7 +129,6 @@ struct macho_file_map
/* The portion of the file which is this architecture. mach_header was
* read from arch_offset. */
unsigned arch_offset;
- unsigned arch_size;
/* The range of address space covered by all segments. */
size_t segs_start;
@@ -501,7 +500,6 @@ static BOOL macho_map_file(const WCHAR* filenameW, struct macho_file_map* fmap)
if (swap_ulong_be_to_host(fat_arch.cputype) == TARGET_CPU_TYPE)
{
fmap->arch_offset = swap_ulong_be_to_host(fat_arch.offset);
- fmap->arch_size = swap_ulong_be_to_host(fat_arch.size);
break;
}
}
@@ -511,7 +509,6 @@ static BOOL macho_map_file(const WCHAR* filenameW, struct macho_file_map* fmap)
else
{
fmap->arch_offset = 0;
- fmap->arch_size = statbuf.st_size;
TRACE("... not a fat header\n");
}
--
1.9.5 (Apple Git-50.3)
More information about the wine-patches
mailing list