Skip to content

Commit 69d9862

Browse files
clyringBodigrim
authored andcommitted
Remove another dead branch from toStrict (#663)
Looking at a test coverage report brought it to my attention.
1 parent 453c1dc commit 69d9862

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

Data/ByteString/Lazy/Internal.hs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -355,7 +355,6 @@ toStrict = \cs -> goLen0 cs cs
355355

356356
-- Copy the data
357357
goCopy Empty !_ = return ()
358-
goCopy (Chunk (S.BS _ 0 ) cs) !ptr = goCopy cs ptr
359358
goCopy (Chunk (S.BS fp len) cs) !ptr = do
360359
S.memcpyFp ptr fp len
361360
goCopy cs (ptr `S.plusForeignPtr` len)

0 commit comments

Comments
 (0)