From 3ba68f85fef1e9236e28496922cd4f0be02eb1b6 Mon Sep 17 00:00:00 2001 From: Christoffer Lerno Date: Mon, 24 Feb 2025 10:28:50 +0100 Subject: [PATCH] Fix bug checking for `@builtin` --- src/compiler/parse_global.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/compiler/parse_global.c b/src/compiler/parse_global.c index c28ea0db8..c755a0c40 100644 --- a/src/compiler/parse_global.c +++ b/src/compiler/parse_global.c @@ -2109,7 +2109,7 @@ static inline Decl *parse_def_attribute(ParseContext *c) CONSUME_OR_RET(TOKEN_LBRACE, poisoned_decl); bool is_cond; - bool is_builtin; + bool is_builtin = false; if (!parse_attributes(c, &attributes, NULL, decl_needs_prefix(decl) ? &is_builtin : NULL, &is_cond)) return poisoned_decl; CONSUME_OR_RET(TOKEN_RBRACE, poisoned_decl); decl->attr_decl.attrs = attributes;