Skip to content

Commit

Permalink
remove redundant checkmode
Browse files Browse the repository at this point in the history
  • Loading branch information
nhz2 committed Oct 17, 2023
1 parent c1395b9 commit 0183a04
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/stream.jl
Original file line number Diff line number Diff line change
Expand Up @@ -282,7 +282,6 @@ end
# ---------------

function Base.seekstart(stream::TranscodingStream)
checkmode(stream)
mode = stream.state.mode
@checkmode (:idle, :read)
if mode == :read

Check warning on line 287 in src/stream.jl

View check run for this annotation

Codecov / codecov/patch

src/stream.jl#L286-L287

Added lines #L286 - L287 were not covered by tests
Expand Down

0 comments on commit 0183a04

Please sign in to comment.