summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 b37e2c9bc3..01c08f5389 100644
--- a/rts/linker/MachO.c
+++ b/rts/linker/MachO.c
@@ -1350,7 +1350,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