]> granicus.if.org Git - yasm/commitdiff
macho-objfmt.c: Fix unused variable warning.
authorPeter Johnson <peter@tortall.net>
Tue, 6 Feb 2007 07:42:52 +0000 (07:42 -0000)
committerPeter Johnson <peter@tortall.net>
Tue, 6 Feb 2007 07:42:52 +0000 (07:42 -0000)
svn path=/trunk/yasm/; revision=1756

modules/objfmts/macho/macho-objfmt.c

index 20d16642baf1542e85f66574d00b425612b54423..e0c6c6375f70a719dc6617c009d3e91cd1446be1 100644 (file)
@@ -1117,7 +1117,6 @@ macho_objfmt_output_symtable(yasm_symrec *sym, /*@null@*/ void *d)
     assert(info != NULL);
 
     if (info->all_syms || vis != YASM_SYM_LOCAL) {
-       const char *name = yasm_symrec_get_name(sym);
        const yasm_expr *equ_val;
        const yasm_intnum *intn;
        unsigned long value = 0;