mirror of
https://github.com/Ed94/Odin.git
synced 2026-08-01 04:10:07 +00:00
Keep -vet happy
This commit is contained in:
@@ -41,7 +41,8 @@ is_abs :: proc(path: string) -> bool {
|
||||
return false;
|
||||
}
|
||||
|
||||
path := path[l:];
|
||||
path := path;
|
||||
path = path[l:];
|
||||
if path == "" {
|
||||
return false;
|
||||
}
|
||||
@@ -123,8 +124,8 @@ split_list :: proc(path: string, allocator := context.allocator) -> []string {
|
||||
}
|
||||
assert(index == count);
|
||||
|
||||
for s, i in list {
|
||||
s, new := strings.replace_all(s, `"`, ``, allocator);
|
||||
for s0, i in list {
|
||||
s, new := strings.replace_all(s0, `"`, ``, allocator);
|
||||
if !new {
|
||||
s = strings.clone(s, allocator);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user