mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
all: fix remaining []array
warnings
This commit is contained in:
@ -15,7 +15,7 @@ pub:
|
||||
}
|
||||
|
||||
/*
|
||||
// Private function, used by V (`nums := []int`)
|
||||
// Private function, used by V (`nums := []int{}`)
|
||||
fn new_array(mylen, cap, elm_size int) array {
|
||||
arr := array {
|
||||
len: mylen
|
||||
@ -130,6 +130,5 @@ pub fn (arr mut array) push_many(val voidptr, size int) {
|
||||
}
|
||||
|
||||
pub fn free(voidptr) {
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
Reference in New Issue
Block a user