summaryrefslogtreecommitdiff
path: root/types.c
diff options
context:
space:
mode:
Diffstat (limited to 'types.c')
-rw-r--r--types.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/types.c b/types.c
index b9c9ebd..109fa68 100644
--- a/types.c
+++ b/types.c
@@ -3480,6 +3480,7 @@ static Status types_stmt(Typer *tr, Statement *s) {
}
static void typer_create(Typer *tr, Evaluator *ev, ErrCtx *err_ctx, Allocator *allocr, Identifiers *idents) {
+ tr->used = NULL;
tr->block = NULL;
tr->blocks = NULL;
tr->fn = NULL;