Remove unnecessary test in ast2firm: A case-label-statement always has an inner state...
authorChristoph Mallon <christoph.mallon@gmx.de>
Fri, 4 Feb 2011 14:27:18 +0000 (14:27 +0000)
committerChristoph Mallon <christoph.mallon@gmx.de>
Fri, 4 Feb 2011 14:27:18 +0000 (14:27 +0000)
[r28298]

ast2firm.c

index 1f82c55..5ff947f 100644 (file)
@@ -5284,9 +5284,7 @@ static void case_label_to_firm(const case_label_statement_t *statement)
        mature_immBlock(block);
        set_cur_block(block);
 
-       if (statement->statement != NULL) {
-               statement_to_firm(statement->statement);
-       }
+       statement_to_firm(statement->statement);
 }
 
 static void label_to_firm(const label_statement_t *statement)