From a0b6008c2e182f2a2fce54c7e8f7f7e4f8b9e2b3 Mon Sep 17 00:00:00 2001 From: "Wolfgang (Blub) Bumiller" Date: Sun, 11 Nov 2012 21:32:04 +0100 Subject: [PATCH] fix an uninitialized value --- ast.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ast.c b/ast.c index a134be2..9e6aa57 100644 --- a/ast.c +++ b/ast.c @@ -1244,9 +1244,9 @@ bool ast_store_codegen(ast_store *self, ast_function *func, bool lvalue, ir_valu ast_expression_codegen *cgen; ir_value *left, *right; - ast_array_index *ai; ast_value *arr; ast_value *idx; + ast_array_index *ai = NULL; if (lvalue && self->expression.outl) { *out = self->expression.outl; -- 2.39.2