aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--decl.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/decl.c b/decl.c
index 23dc778..2fb56c4 100644
--- a/decl.c
+++ b/decl.c
@@ -507,10 +507,6 @@ done:
}
if (!t && (tq || sc && *sc || fs && *fs))
error(&tok.loc, "declaration has no type specifier");
- if (t && tq && t->kind == TYPEARRAY) {
- t = mkarraytype(t->base, t->qual | tq, t->u.array.length);
- tq = QUALNONE;
- }
/*
TODO: consider delaying attribute parsing to declarator(),
so we can tell the difference between the start of an