mirror of
https://github.com/janet-lang/janet
synced 2024-11-17 22:24:49 +00:00
Remove unused var byteindex.
This commit is contained in:
parent
33862e2e7b
commit
8697ca976a
@ -940,7 +940,6 @@ onvalue."
|
||||
(def p (parser.new))
|
||||
|
||||
# Fiber stream of characters
|
||||
(var byteindex 0)
|
||||
(def chars (coro
|
||||
(def buf @"")
|
||||
(var len 1)
|
||||
@ -949,7 +948,6 @@ onvalue."
|
||||
(chunks buf p)
|
||||
(:= len (length buf))
|
||||
(loop [i :range [0 len]]
|
||||
(++ byteindex)
|
||||
(yield (get buf i))))
|
||||
0))
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user