fix an uninitialized value

This commit is contained in:
Wolfgang (Blub) Bumiller 2012-11-11 21:32:04 +01:00
parent a78cdd5366
commit a0b6008c2e

2
ast.c
View file

@ -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;