From 9a7cce615632e47d2ba4e6be3a4ffdb4266ab602 Mon Sep 17 00:00:00 2001 From: Nakidai Date: Wed, 22 Apr 2026 15:48:41 +0300 Subject: Remove {0} initialization from valnil Well, - There's no point in nil's value - Fields are zero-initialized for global variables by default anyway --- compile.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/compile.c b/compile.c index 61aab05..12c123d 100644 --- a/compile.c +++ b/compile.c @@ -22,7 +22,7 @@ struct val nil = {VVAR, {.name = "nil"}}; -static struct var valnil = {"nil", {VNIL, {0}}}; +static struct var valnil = {"nil", {VNIL}}; struct scope basescope = {NULL, &valnil, 1}; static struct val zero = {VNUM, {0}}; -- cgit 1.4.1