ref: acb25bfdff10aebe18b8edbc1c697fc1da9a64a3
parent: ceb069acb461dd7da080303e29b2e8d916487cb8
author: Roberto E. Vargas Caballero <[email protected]>
date: Thu Aug 27 11:56:17 EDT 2015
Remove unneeded change of namespace in structdcl() The namespace already had the correct namespace.
--- a/cc1/decl.c
+++ b/cc1/decl.c
@@ -430,7 +430,6 @@
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");