summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen Gamari <ben@smart-cactus.org>2022-07-13 14:30:13 -0400
committerMarge Bot <ben+marge-bot@smart-cactus.org>2022-07-16 23:50:36 -0400
commitd9bff44ca5a4a05434d32f76f665c332a0d26f43 (patch)
treec1edbcdc7456c3104fd6c60fb6c3ab293bef4658
parent6f3816af374f5c5b70f37e14a23ca8f209c365c2 (diff)
downloadhaskell-d9bff44ca5a4a05434d32f76f665c332a0d26f43.tar.gz
rts/linker/MachO: Drop dead code
-rw-r--r--rts/linker/MachO.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/rts/linker/MachO.c b/rts/linker/MachO.c
index 8290ab8d2c..8d48966f4b 100644
--- a/rts/linker/MachO.c
+++ b/rts/linker/MachO.c
@@ -1394,7 +1394,6 @@ ocGetNames_MachO(ObjectCode* oc)
{
IF_DEBUG(linker_verbose, debugBelch("ocGetNames_MachO: inserting %s\n", nm));
SymbolAddr* addr = oc->info->macho_symbols[i].addr;
- MachOSection *sect = &oc->info->macho_sections[oc->info->macho_symbols[i].nlist->n_sect-1];
// TODO: Make figure out how to determine this from the object file
SymType sym_type = SYM_TYPE_CODE;
ghciInsertSymbolTable( oc->fileName