From 55915b521725842a0762917457159f44a0f23531 Mon Sep 17 00:00:00 2001 From: "Wolfgang (Blub) Bumiller" Date: Thu, 22 Nov 2012 21:10:34 +0100 Subject: [PATCH] initialize some values --- ast.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/ast.c b/ast.c index 0691512..716ba1a 100644 --- a/ast.c +++ b/ast.c @@ -1412,10 +1412,11 @@ bool ast_block_codegen(ast_block *self, ast_function *func, bool lvalue, ir_valu bool ast_store_codegen(ast_store *self, ast_function *func, bool lvalue, ir_value **out) { ast_expression_codegen *cgen; - ir_value *left, *right; + ir_value *left = NULL; + ir_value *right = NULL; ast_value *arr; - ast_value *idx; + ast_value *idx = 0; ast_array_index *ai = NULL; if (lvalue && self->expression.outl) { -- 2.39.2