Skip to content

Commit 1751c95

Browse files
authored
Remove a vestigial GC preserve (#97)
1 parent 48256de commit 1751c95

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/reader.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -279,7 +279,7 @@ function zip_test_entry(r::ZipReader, i::Integer)::Nothing
279279
real_crc32::UInt32 = 0
280280
uncompressed_size::UInt64 = 0
281281
buffer = zeros(UInt8, 1<<14)
282-
GC.@preserve buffer while !eof(io)
282+
while !eof(io)
283283
nb = readbytes!(io, buffer)
284284
@argcheck uncompressed_size < typemax(Int64)
285285
uncompressed_size += nb

0 commit comments

Comments
 (0)