Browse Source

`-vet` code

gingerBill 5 years ago
parent
commit
8dff0f7ef5
2 changed files with 1 additions and 3 deletions
  1. 1 1
      core/container/set.odin
  2. 0 2
      core/container/small_array.odin

+ 1 - 1
core/container/set.odin

@@ -57,7 +57,7 @@ set_add :: proc(m: ^Set, key: u64) {
 		_set_grow(m);
 	}
 
-	i := _set_find_or_make(m, key);
+	_ = _set_find_or_make(m, key);
 	if _set_full(m^) {
 		_set_grow(m);
 	}

+ 0 - 2
core/container/small_array.odin

@@ -1,7 +1,5 @@
 package container
 
-import "core:mem"
-
 Small_Array :: struct(N: int, T: typeid) where N >= 0 {
 	data: [N]T,
 	len:  int,