1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00

builtin: minor cleanup in sorted_map.v (#18502)

This commit is contained in:
yuyi 2023-06-21 17:34:05 +08:00 committed by GitHub
parent 867f4376d8
commit d7a50b4a22
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -60,7 +60,7 @@ fn new_sorted_map_init(n int, value_bytes int, keys &string, values voidptr) Sor
// each insertion.
fn new_node() &mapnode {
return &mapnode{
children: 0
children: unsafe { nil }
len: 0
}
}