From d328241d8f59d63709734bf12e8eee03f1199c2f Mon Sep 17 00:00:00 2001 From: Christoph Mallon Date: Wed, 3 Sep 2008 20:11:42 +0000 Subject: [PATCH] Fix cp_error049. [r21680] --- ast2firm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ast2firm.c b/ast2firm.c index da8daf1..ff313d2 100644 --- a/ast2firm.c +++ b/ast2firm.c @@ -4176,7 +4176,7 @@ static void if_statement_to_firm(if_statement_t *statement) } mature_immBlock(true_block); - if (false_block != fallthrough_block) { + if (false_block != fallthrough_block && false_block != NULL) { mature_immBlock(false_block); } if (fallthrough_block != NULL) { -- 2.20.1