commit acb25bfdff10aebe18b8edbc1c697fc1da9a64a3
Author: Roberto E. Vargas Caballero <[email protected]>
AuthorDate: Thu Aug 27 15:56:17 2015 +0200
Commit: Roberto E. Vargas Caballero <[email protected]>
CommitDate: Thu Aug 27 15:56:17 2015 +0200
Remove unneeded change of namespace in structdcl()
The namespace already had the correct namespace.
diff --git a/cc1/decl.c b/cc1/decl.c
index 1a6c42a..b87ff34 100644
--- 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");