Skip to content

Commit

Permalink
Suppress a warning
Browse files Browse the repository at this point in the history
  • Loading branch information
kou committed May 16, 2024
1 parent d574ba5 commit 94e180e
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion lib/rexml/source.rb
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,6 @@ def read(term = nil)

def read_until(term)
pattern = Regexp.union(term)
data = []
begin
until str = @scanner.scan_until(pattern)
@scanner << readline(term)
Expand Down

0 comments on commit 94e180e

Please sign in to comment.