Skip to content

Commit 50c6a0f

Browse files
committed
add explicit return
1 parent e906d19 commit 50c6a0f

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/compression.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ function TranscodingStreams.finalize(codec::ZstdCompressor)
8686
end
8787
codec.cstream.ptr = C_NULL
8888
end
89-
nothing
89+
return
9090
end
9191

9292
function TranscodingStreams.startproc(codec::ZstdCompressor, mode::Symbol, error::Error)

src/decompression.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ function TranscodingStreams.finalize(codec::ZstdDecompressor)
4141
end
4242
codec.dstream.ptr = C_NULL
4343
end
44-
nothing
44+
return
4545
end
4646

4747
function TranscodingStreams.startproc(codec::ZstdDecompressor, mode::Symbol, error::Error)

0 commit comments

Comments
 (0)