From f3e35474078895e1d178e15cfbfc6743f9ffc62d Mon Sep 17 00:00:00 2001 From: marcandre Date: Mon, 8 Nov 2010 20:59:01 +0000 Subject: * lib/*.rb: Remove unused variable warnings. Patch by Run Paint [ruby-core:30991] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29726 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- lib/rexml/functions.rb | 1 - 1 file changed, 1 deletion(-) (limited to 'lib/rexml/functions.rb') diff --git a/lib/rexml/functions.rb b/lib/rexml/functions.rb index 2d30e5fe92..7a05d0cf9f 100644 --- a/lib/rexml/functions.rb +++ b/lib/rexml/functions.rb @@ -170,7 +170,6 @@ module REXML # Kouhei fixed this too def Functions::substring_after( string, test ) ruby_string = string(string) - test_string = string(test) return $1 if ruby_string =~ /#{test}(.*)/ "" end -- cgit v1.2.3