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