Skip to content

Commit

Permalink
Update vlib/v/gen/c/past_tmp_var.v
Browse files Browse the repository at this point in the history
Co-authored-by: Jose Mendoza  <[email protected]>
  • Loading branch information
felipensp and StunxFS authored Nov 25, 2024
1 parent ccbb9e9 commit 2cfb1a6
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions vlib/v/gen/c/past_tmp_var.v
Original file line number Diff line number Diff line change
Expand Up @@ -48,9 +48,8 @@ fn (mut g Gen) past_tmp_var_done(p &PastTmpVar) {
g.write(p.s)
}
if g.inside_return {
g.write2(' ', p.tmp_var)
} else {
g.write(p.tmp_var)
g.write(' ')
}
g.write(p.tmp_var)
}
}

0 comments on commit 2cfb1a6

Please sign in to comment.