aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--tccgen.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tccgen.c b/tccgen.c
index c823d42..4cc9543 100644
--- a/tccgen.c
+++ b/tccgen.c
@@ -2911,7 +2911,7 @@ static void struct_decl(CType *type, int u, int tdef)
if (v == 0 && (type1.t & VT_BTYPE) != VT_STRUCT)
expect("identifier");
if (type_size(&type1, &align) < 0) {
- if ((a == TOK_STRUCT) && (type1.t & VT_ARRAY) && c)
+ if ((a == TOK_STRUCT) && (type1.t & VT_ARRAY))
flexible = 1;
else
tcc_error("field '%s' has incomplete type",