Keep -vet happy

This commit is contained in:
gingerBill committed 2020-12-14 14:36:45 +00:00
1 parent aa2562fe7c
commit f6e2d74d10
5 files changed
+11 -12

No files matched your search

+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;
}