Skip to content

Commit 6efe4be

Browse files
committed
Remove dead code.
1 parent a1b09cc commit 6efe4be

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

lib/truffle/strscan.rb

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -332,8 +332,6 @@ def peep(len)
332332
end
333333

334334
private def scan_internal_set_pos_and_str(advance_pos, getstr, md)
335-
return nil unless md
336-
337335
fin = Primitive.match_data_byte_end(md, 0)
338336

339337
@prev_pos = @pos

0 commit comments

Comments
 (0)