initialize some values

This commit is contained in:
Wolfgang (Blub) Bumiller 2012-11-22 21:10:34 +01:00
parent 07d5686a47
commit 55915b5217

5
ast.c
View file

@ -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) {