Skip to content

Commit 0f6202c

Browse files
committed
Remove useless and not run lines
Was supposed to be isa(), so was always false. Anyway, one call path always set s.skip = 0, and the other one happens when closing.
1 parent b561132 commit 0f6202c

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

src/iconv.jl

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -96,10 +96,6 @@ end
9696
function iconv_reset!(s::Union{StringEncoder, StringDecoder})
9797
s.cd == C_NULL && return 0
9898

99-
if is(s, StringDecoder)
100-
s.skip = 0
101-
end
102-
10399
s.outbufptr[] = pointer(s.outbuf)
104100
s.outbytesleft[] = BUFSIZE
105101
ret = ccall((:iconv, :libc), Csize_t,

0 commit comments

Comments
 (0)