diff options
author | marcandre <marcandre@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2010-11-08 20:59:01 +0000 |
---|---|---|
committer | marcandre <marcandre@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2010-11-08 20:59:01 +0000 |
commit | f3e35474078895e1d178e15cfbfc6743f9ffc62d (patch) | |
tree | a3fd49329f497133415a7ec11592b5c693459608 /lib/xmlrpc | |
parent | cceca83afe046b8c2b53eab6ab7c52faa1719b6d (diff) | |
download | ruby-f3e35474078895e1d178e15cfbfc6743f9ffc62d.tar.gz |
* 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
Diffstat (limited to 'lib/xmlrpc')
-rw-r--r-- | lib/xmlrpc/httpserver.rb | 2 | ||||
-rw-r--r-- | lib/xmlrpc/parser.rb | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/lib/xmlrpc/httpserver.rb b/lib/xmlrpc/httpserver.rb index 66d52139db..a9605efa7a 100644 --- a/lib/xmlrpc/httpserver.rb +++ b/lib/xmlrpc/httpserver.rb @@ -170,7 +170,7 @@ private io << http_resp(response.status, response.status_message, response.header, response.body) - rescue Exception => e + rescue Exception io << http_resp(500, "Internal Server Error") end diff --git a/lib/xmlrpc/parser.rb b/lib/xmlrpc/parser.rb index d8e91b0098..840130ca1e 100644 --- a/lib/xmlrpc/parser.rb +++ b/lib/xmlrpc/parser.rb @@ -714,7 +714,7 @@ module XMLRPC end def parse(str) - parser = REXML::Document.parse_stream(str, self) + REXML::Document.parse_stream(str, self) end end |