diff options
| author | jason <jkercher43@gmail.com> | 2025-01-10 20:59:48 -0500 |
|---|---|---|
| committer | jason <jkercher43@gmail.com> | 2025-01-10 20:59:48 -0500 |
| commit | c11dccf210f4992b0ec289d2a884aadc9625bab1 (patch) | |
| tree | 918d0ff2317ced7b804492935240fcfae9c9cd18 /core/sys/linux | |
| parent | fa7ef28acf6443073c1429c7e6df400eeb8f36af (diff) | |
make -vet happy
Diffstat (limited to 'core/sys/linux')
| -rw-r--r-- | core/sys/linux/wrappers.odin | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/sys/linux/wrappers.odin b/core/sys/linux/wrappers.odin index e367a4db4..ab1992a57 100644 --- a/core/sys/linux/wrappers.odin +++ b/core/sys/linux/wrappers.odin @@ -92,7 +92,7 @@ dirent_name :: proc "contextless" (dirent: ^Dirent) -> string #no_bounds_check { trunc := min(str_size, 8) str_size -= trunc - for i in 0..<trunc { + for _ in 0..<trunc { str_size += 1 if str[str_size] == 0 { break |