projects
/
cparser
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0125501
)
Remove unnecessary test in ast2firm: A case-label-statement always has an inner state...
author
Christoph Mallon
<christoph.mallon@gmx.de>
Fri, 4 Feb 2011 14:27:18 +0000
(14:27 +0000)
committer
Christoph Mallon
<christoph.mallon@gmx.de>
Fri, 4 Feb 2011 14:27:18 +0000
(14:27 +0000)
[r28298]
ast2firm.c
patch
|
blob
|
history
diff --git
a/ast2firm.c
b/ast2firm.c
index
1f82c55
..
5ff947f
100644
(file)
--- a/
ast2firm.c
+++ b/
ast2firm.c
@@
-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)