aboutsummaryrefslogtreecommitdiff
path: root/semantics.c
diff options
context:
space:
mode:
Diffstat (limited to 'semantics.c')
-rw-r--r--semantics.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/semantics.c b/semantics.c
index 30088ca..d8fe289 100644
--- a/semantics.c
+++ b/semantics.c
@@ -273,6 +273,7 @@ CVar_t cvar_create(char *name, CType_t type, CNode *ast) {
cv->loc = 0;
cv->weight = 0;
cv->reload = 0;
+ cv->cnt = 0;
return cv;
}