Fix a double insertion of a symbol.

This commit is contained in:
Bill Currie 2011-02-08 08:44:08 +09:00
parent daa88d8f1c
commit 8c6fc6fb03

View file

@ -458,7 +458,6 @@ build_scope (symbol_t *fsym, symtab_t *parent)
if (fsym->type->t.func.num_params < 0) {
args = new_symbol_type (".args", &type_va_list);
initialize_def (args, args->type, 0, symtab->space, st_local);
symtab_addsymbol (symtab, args);
}
for (p = fsym->params, i = 0; p; p = p->next) {