mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
parser: simplify unused vars & add loop/if vars etc
This commit is contained in:
@@ -1061,7 +1061,7 @@ pub fn walk_ext(path, ext string) []string {
|
||||
}
|
||||
mut res := []string{}
|
||||
separator := if path.ends_with(os.path_separator) { '' } else { os.path_separator }
|
||||
for i, file in files {
|
||||
for file in files {
|
||||
if file.starts_with('.') {
|
||||
continue
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user