1
0
mirror of https://github.com/janet-lang/janet synced 2024-06-23 13:43:16 +00:00

Remove unused var byteindex.

This commit is contained in:
Calvin Rose 2018-06-29 13:49:17 -04:00
parent 33862e2e7b
commit 8697ca976a

View File

@ -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))