]> git.xonotic.org Git - xonotic/gmqcc.git/blobdiff - ast.c
gcc lost it's magic analyzer and now complains about uninitialized stuff... <sadface>
[xonotic/gmqcc.git] / ast.c
diff --git a/ast.c b/ast.c
index 7fb5ec4f4cceaf7cc7e3cff73318658fc26c64a8..9172a81c98eabc003d72d7eacb01d64f04e1f3e2 100644 (file)
--- a/ast.c
+++ b/ast.c
@@ -1408,8 +1408,8 @@ bool ast_ifthen_codegen(ast_ifthen *self, ast_function *func, bool lvalue, ir_va
     ir_block *cond = func->curblock;
     ir_block *ontrue;
     ir_block *onfalse;
-    ir_block *ontrue_endblock;
-    ir_block *onfalse_endblock;
+    ir_block *ontrue_endblock = NULL;
+    ir_block *onfalse_endblock = NULL;
     ir_block *merge;
 
     /* We don't output any value, thus also don't care about r/lvalue */