summaryrefslogtreecommitdiff
path: root/lib/csv.rb
diff options
context:
space:
mode:
authormarcandre <marcandre@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2010-07-11 16:59:10 +0000
committermarcandre <marcandre@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2010-07-11 16:59:10 +0000
commit70510d026f8d86693dccaba07417488eed09b41d (patch)
tree81670e1c01692ae397e7f1f2e4caf646cef34d3c /lib/csv.rb
parentc6820cc3bea5476f605a51e38c1207d266f45ff6 (diff)
* 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
Diffstat (limited to 'lib/csv.rb')
-rw-r--r--lib/csv.rb4
1 files changed, 0 insertions, 4 deletions
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 <tt>@io.gets()</tt> 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 = {