diff options
| author | CiD- <jkercher43@gmail.com> | 2022-02-08 09:21:43 -0500 |
|---|---|---|
| committer | CiD- <jkercher43@gmail.com> | 2022-02-08 09:21:43 -0500 |
| commit | 83e9a6b417c449e0ffa413f4841ce0d19b1c7732 (patch) | |
| tree | d98edd2f34e06434902960722f9785887a7045b6 /core/path | |
| parent | 30bb2382aa0c7a9d6407c0b28258cd9fd00c560d (diff) | |
fix -vet for filepath/match.odin
Diffstat (limited to 'core/path')
| -rw-r--r-- | core/path/filepath/match.odin | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/core/path/filepath/match.odin b/core/path/filepath/match.odin index cba44953d..bde7f5393 100644 --- a/core/path/filepath/match.odin +++ b/core/path/filepath/match.odin @@ -227,11 +227,10 @@ glob :: proc(pattern: string, allocator := context.allocator) -> (matches: []str return m[:], .None } - temp_buf: [8]byte - dir, file := split(pattern) volume_len := 0 when ODIN_OS == "windows" { + temp_buf: [8]byte volume_len, dir = clean_glob_path_windows(dir, temp_buf[:]) } else { dir = clean_glob_path(dir) |