From: Wolfgang (Blub) Bumiller Date: Thu, 22 Nov 2012 20:10:34 +0000 (+0100) Subject: initialize some values X-Git-Tag: 0.1.9~345 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=55915b521725842a0762917457159f44a0f23531;p=xonotic%2Fgmqcc.git initialize some values --- 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) {