aboutsummaryrefslogtreecommitdiff
path: root/eval.c
diff options
context:
space:
mode:
Diffstat (limited to 'eval.c')
-rw-r--r--eval.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/eval.c b/eval.c
index d6c70b1..2c5a84f 100644
--- a/eval.c
+++ b/eval.c
@@ -119,7 +119,7 @@ eval(struct expr *expr)
if (expr->u.compound.storage != SDSTATIC)
break;
d = mkdecl(NULL, DECLOBJECT, t, expr->qual, LINKNONE);
- d->value = mkglobal(NULL, true);
+ d->value = mkglobal(NULL, true, false);
emitdata(d, expr->u.compound.init);
expr->kind = EXPRIDENT;
expr->u.ident.decl = d;