mirror of
https://github.com/Ed94/Odin.git
synced 2026-07-30 19:30:06 +00:00
Keep -vet happy
This commit is contained in:
@@ -10,8 +10,8 @@ import "core:slice"
|
||||
collect_package :: proc(path: string) -> (pkg: ^ast.Package, success: bool) {
|
||||
NO_POS :: tokenizer.Pos{};
|
||||
|
||||
pkg_path, ok := filepath.abs(path);
|
||||
if !ok {
|
||||
pkg_path, pkg_path_ok := filepath.abs(path);
|
||||
if !pkg_path_ok {
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user