[Minor] remove unused and unnecessary local variable (#19853)
This commit is contained in:
parent
d30c6419a0
commit
4e3eb7414c
1 changed files with 0 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue