From 0183a0404b8506ebcc747f833f955628136d3533 Mon Sep 17 00:00:00 2001 From: nhz2 Date: Tue, 17 Oct 2023 17:07:35 -0400 Subject: [PATCH] remove redundant checkmode --- src/stream.jl | 1 - 1 file changed, 1 deletion(-) diff --git a/src/stream.jl b/src/stream.jl index 2300e6bc..e3c895d4 100644 --- a/src/stream.jl +++ b/src/stream.jl @@ -282,7 +282,6 @@ end # --------------- function Base.seekstart(stream::TranscodingStream) - checkmode(stream) mode = stream.state.mode @checkmode (:idle, :read) if mode == :read