cgen: fix tcc compilation

pull/10081/head
Alexander Medvednikov 2021-05-11 10:21:47 +03:00
parent 72a135c7c5
commit d088c4cee3
1 changed files with 0 additions and 1 deletions

View File

@ -192,7 +192,6 @@ fn (mut g Gen) comp_if(node ast.IfExpr) {
if !node.is_expr && !node.has_else && node.branches.len == 1 {
if node.branches[0].stmts.len == 0 {
// empty ifdef; result of target OS != conditional => skip
g.write('/*empty $ if*/')
return
}
if !g.pref.output_cross_c {