mirror of
https://github.com/Ed94/Odin.git
synced 2026-08-06 15:48:51 +00:00
make -vet happy
This commit is contained in:
@@ -92,7 +92,7 @@ dirent_name :: proc "contextless" (dirent: ^Dirent) -> string #no_bounds_check {
|
|||||||
|
|
||||||
trunc := min(str_size, 8)
|
trunc := min(str_size, 8)
|
||||||
str_size -= trunc
|
str_size -= trunc
|
||||||
for i in 0..<trunc {
|
for _ in 0..<trunc {
|
||||||
str_size += 1
|
str_size += 1
|
||||||
if str[str_size] == 0 {
|
if str[str_size] == 0 {
|
||||||
break
|
break
|
||||||
|
|||||||
Reference in New Issue
Block a user