From f4d46c4e7f7df9373bb87a0d35ef0abe7cde7ac2 Mon Sep 17 00:00:00 2001 From: Peter Johnson Date: Sun, 25 Sep 2005 01:06:00 +0000 Subject: [PATCH] * symrec.c (symtab_parser_finalize_checksym): Remove cruft that snuck into previous commit. svn path=/trunk/yasm/; revision=1233 --- libyasm/symrec.c | 5 ----- 1 file changed, 5 deletions(-) diff --git a/libyasm/symrec.c b/libyasm/symrec.c index 2fab0e82..23f874bb 100644 --- a/libyasm/symrec.c +++ b/libyasm/symrec.c @@ -291,15 +291,10 @@ typedef struct symtab_finalize_info { static int symtab_parser_finalize_checksym(yasm_symrec *sym, /*@null@*/ void *d) { - unsigned long *firstundef_line = d; symtab_finalize_info *info = (symtab_finalize_info *)d; /* error if a symbol is used but never defined or extern/common declared */ if ((sym->status & SYM_USED) && !(sym->status & SYM_DEFINED) && !(sym->visibility & (YASM_SYM_EXTERN | YASM_SYM_COMMON))) { - yasm__error(sym->line, N_("undefined symbol `%s' (first use)"), - sym->name); - if (sym->line < *firstundef_line) - *firstundef_line = sym->line; if (info->undef_extern && info->objfmt) yasm_objfmt_extern_declare(info->objfmt, sym->name, NULL, 1); else {