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 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