aboutsummaryrefslogtreecommitdiff
path: root/base/runtime
diff options
context:
space:
mode:
authorgingerBill <gingerBill@users.noreply.github.com>2025-09-27 10:10:25 +0100
committergingerBill <gingerBill@users.noreply.github.com>2025-09-27 10:10:25 +0100
commit2baa19f73ce72045f0eea941c90a5eaac16fc1a6 (patch)
tree2cdd70de534681db523a3479e45cd02796ea85ad /base/runtime
parentac01d1b5bf0050e8929756e046db425c92b8b1dd (diff)
Remove unused variablebill/conditional-zero
Diffstat (limited to 'base/runtime')
-rw-r--r--base/runtime/internal.odin1
1 files changed, 0 insertions, 1 deletions
diff --git a/base/runtime/internal.odin b/base/runtime/internal.odin
index 50be890f7..0e674aca8 100644
--- a/base/runtime/internal.odin
+++ b/base/runtime/internal.odin
@@ -265,7 +265,6 @@ conditional_mem_zero :: proc "contextless" (data: rawptr, n_: int) #no_bounds_ch
n := uint(n_)
n_words := n / size_of(uintptr)
- n_bytes := n % size_of(uintptr)
p_words := ([^]uintptr)(data)[:n_words]
p_bytes := ([^]byte)(data)[size_of(uintptr) * n_words:n]
for &p_word in p_words {