mirror of
https://github.com/nim-lang/Nim.git
synced 2025-12-28 17:04:41 +00:00
[Minor] remove unused and unnecessary local variable (#19853)
This commit is contained in:
@@ -115,7 +115,6 @@ proc reprArray(a: pointer, typ: PNimType,
|
||||
# We prepend @ to seq, the C backend prepends the pointer to the seq.
|
||||
result = if typ.kind == tySequence: "@[" else: "["
|
||||
var len: int = 0
|
||||
var i: int = 0
|
||||
|
||||
{. emit: "`len` = `a`.length;\n" .}
|
||||
var dereffed: pointer = a
|
||||
|
||||
Reference in New Issue
Block a user