aboutsummaryrefslogtreecommitdiff
path: root/core/sys/linux
diff options
context:
space:
mode:
authorjason <jkercher43@gmail.com>2025-01-10 20:59:48 -0500
committerjason <jkercher43@gmail.com>2025-01-10 20:59:48 -0500
commitc11dccf210f4992b0ec289d2a884aadc9625bab1 (patch)
tree918d0ff2317ced7b804492935240fcfae9c9cd18 /core/sys/linux
parentfa7ef28acf6443073c1429c7e6df400eeb8f36af (diff)
make -vet happy
Diffstat (limited to 'core/sys/linux')
-rw-r--r--core/sys/linux/wrappers.odin2
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