Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
felipensp committed Sep 29, 2024
1 parent d8f18fb commit d66e924
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion vlib/v/gen/c/cgen.v
Original file line number Diff line number Diff line change
Expand Up @@ -7347,7 +7347,7 @@ fn (mut g Gen) type_default(typ_ ast.Type) string {
.struct_ {
mut has_none_zero := false
info := sym.info as ast.Struct
mut init_str := if (info.is_anon && !g.inside_global_decl) {
mut init_str := if info.is_anon && !g.inside_global_decl {
'(${g.typ(typ)}){'
} else {
'{'
Expand Down

0 comments on commit d66e924

Please sign in to comment.