From 70510d026f8d86693dccaba07417488eed09b41d Mon Sep 17 00:00:00 2001 From: marcandre Date: Sun, 11 Jul 2010 16:59:10 +0000 Subject: * lib/csv.rb: Fix unused variable warnings. Patch by Run Paint [ruby-core:30991] * lib/date.rb: ditto * lib/debug.rb: ditto * lib/drb/drb.rb: ditto * lib/drb/invokemethod.rb: ditto * lib/irb/ruby-lex.rb: ditto * lib/irb/slex.rb: ditto * lib/logger.rb: ditto * lib/pathname.rb: ditto git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28619 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- lib/csv.rb | 4 ---- 1 file changed, 4 deletions(-) (limited to 'lib/csv.rb') diff --git a/lib/csv.rb b/lib/csv.rb index d870dfe229..20a1977c9c 100644 --- a/lib/csv.rb +++ b/lib/csv.rb @@ -1813,9 +1813,6 @@ class CSV end end - # begin with a blank line, so we can always add to it - line = "" - # # it can take multiple calls to @io.gets() to get a full line, # because of \r and/or \n characters embedded in quoted fields @@ -2080,7 +2077,6 @@ class CSV @field_size_limit = options.delete(:field_size_limit) # prebuild Regexps for faster parsing - esc_col_sep = escape_re(@col_sep) esc_row_sep = escape_re(@row_sep) esc_quote = escape_re(@quote_char) @parsers = { -- cgit v1.2.3