Keep -vet happy

This commit is contained in:
gingerBill
2020-12-14 14:36:45 +00:00
parent aa2562fe7c
commit f6e2d74d10
5 changed files with 11 additions and 12 deletions
+2 -2
View File
@@ -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;
}