Keep -vet happy
This commit is contained in:
1 parent
aa2562fe7c
commit
f6e2d74d10
5 files changed
+11
-12
No files matched your search
@@ -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