From: Aaron Patterson Date: 2010-11-24T02:29:40+09:00 Subject: [ruby-core:33305] [Ruby 1.9-Bug#4083][Open] warning in rexml/doctype.rb --mimepart_4cebf9f8343ba_36e6c528dfa591b Content-Type: text/plain Content-Transfer-Encoding: Quoted-printable Content-Disposition: inline Bug #4083: warning in rexml/doctype.rb http://redmine.ruby-lang.org/issues/show/4083 Author: Aaron Patterson Status: Open, Priority: Normal Assigned to: Kouhei Sutou ruby -v: ruby 1.9.3dev (2010-11-24 trunk 29890) [x86_64-darwin10.5.0] rexml/doctype.rb produces this warning: /Users/apatterson/.local/lib/ruby/1.9.1/rexml/doctype.rb:254: warning: `+= ' after local variable is interpreted as binary operator /Users/apatterson/.local/lib/ruby/1.9.1/rexml/doctype.rb:254: warning: ev= en though it seems like unary operator I've attached a patch that fixes the problem. ---------------------------------------- http://redmine.ruby-lang.org --mimepart_4cebf9f8343ba_36e6c528dfa591b Content-Type: text/plain; name=rexml.patch Content-Transfer-Encoding: Base64 Content-Disposition: attachment; filename=rexml.patch ZGlmZiAtLWdpdCBhL2xpYi9yZXhtbC9kb2N0eXBlLnJiIGIvbGliL3JleG1s L2RvY3R5cGUucmIKaW5kZXggNjc4MDk1YS4uMzkyODY3NSAxMDA2NDQKLS0t IGEvbGliL3JleG1sL2RvY3R5cGUucmIKKysrIGIvbGliL3JleG1sL2RvY3R5 cGUucmIKQEAgLTI1MSw3ICsyNTEsNyBAQCBtb2R1bGUgUkVYTUwKICAgICAg ICI8IU5PVEFUSU9OICNAbmFtZSAjQG1pZGRsZSN7CiAgICAgICAgIEBwdWJs aWMgPyAnICcgKyBwdWJsaWMuaW5zcGVjdCA6ICcnCiAgICAgICB9I3sKLSAg ICAgICAgQHN5c3RlbSA/ICcgJyArQHN5c3RlbS5pbnNwZWN0IDogJycKKyAg ICAgICAgQHN5c3RlbSA/ICcgJyArIEBzeXN0ZW0uaW5zcGVjdCA6ICcnCiAg ICAgICB9PiIKICAgICBlbmQKIAo= --mimepart_4cebf9f8343ba_36e6c528dfa591b--