瀏覽代碼

Remove unused variable

gingerBill 2 周之前
父節點
當前提交
2baa19f73c
共有 1 個文件被更改,包括 0 次插入1 次删除
  1. 0 1
      base/runtime/internal.odin

+ 0 - 1
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 {