scc

Simple C99 Compiler
Log | Files | Refs | README | LICENSE

commit acb25bfdff10aebe18b8edbc1c697fc1da9a64a3
parent ceb069acb461dd7da080303e29b2e8d916487cb8
Author: Roberto E. Vargas Caballero <k0ga@shike2.com>
Date:   Thu, 27 Aug 2015 15:56:17 +0200

Remove unneeded change of namespace in structdcl()

The namespace already had the correct namespace.

Diffstat:
cc1/decl.c | 1-
1 file changed, 0 insertions(+), 1 deletion(-)

diff --git a/cc1/decl.c b/cc1/decl.c @@ -430,7 +430,6 @@ structdcl(void) if (tp->defined) error("redefinition of struct/union '%s'", sym->name); tp->defined = 1; - namespace = tp->ns; if (nested == NR_STRUCT_LEVEL) error("too levels of nested structure or union definitions");