mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
cgen: fix typo from previous commit
This commit is contained in:
parent
d779510616
commit
aeb467e038
@ -5340,7 +5340,7 @@ fn (mut g Gen) type_default(typ_ table.Type) string {
|
||||
}
|
||||
// Always set pointers to 0
|
||||
if typ.is_ptr() {
|
||||
return '
|
||||
return '0'
|
||||
}
|
||||
sym := g.table.get_type_symbol(typ)
|
||||
if sym.kind == .array {
|
||||
|
Loading…
x
Reference in New Issue
Block a user