From 2b70c54b1543bb14b7306692a5430648bdd36d48 Mon Sep 17 00:00:00 2001 From: Bill Currie Date: Tue, 26 Nov 2024 16:26:45 +0900 Subject: [PATCH] [qfcc] Fix an uninitialized variable I'd forgotten to do an optimized compile check :/ --- tools/qfcc/source/expr.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/qfcc/source/expr.c b/tools/qfcc/source/expr.c index b3b0f5f2e..e129aa488 100644 --- a/tools/qfcc/source/expr.c +++ b/tools/qfcc/source/expr.c @@ -2276,7 +2276,7 @@ new_intrinsic_expr (const expr_t *expr_list) if (expr_list) { int count = list_count (&expr_list->list); - const expr_t *exprs[count + 1]; + const expr_t *exprs[count + 1] = {}; list_scatter (&expr_list->list, exprs); intrinsic->intrinsic = (ex_intrinsic_t) {