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

parser: add unused variable warning

This commit is contained in:
Kris Cherven
2020-04-21 19:52:56 -04:00
committed by GitHub
parent 08fac28c52
commit 155891a4e0
24 changed files with 104 additions and 33 deletions

View File

@ -1223,7 +1223,6 @@ pub fn (a []string) join(del string) string {
// Go thru every string and copy its every char one by one
for i, val in a {
for j in 0..val.len {
c := val[j]
res.str[idx] = val.str[j]
idx++
}