Skip to content

Commit 94e180e

Browse files
committed
Suppress a warning
1 parent d574ba5 commit 94e180e

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

lib/rexml/source.rb

-1
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,6 @@ def read(term = nil)
174174

175175
def read_until(term)
176176
pattern = Regexp.union(term)
177-
data = []
178177
begin
179178
until str = @scanner.scan_until(pattern)
180179
@scanner << readline(term)

0 commit comments

Comments
 (0)