diff options
author | Jeremy Kemper <jeremy@bitsweat.net> | 2009-09-13 05:56:21 -0700 |
---|---|---|
committer | Jeremy Kemper <jeremy@bitsweat.net> | 2009-09-13 05:56:21 -0700 |
commit | 7e6652edbf87d26489d2b68cfa29abeb2ab588c7 (patch) | |
tree | 0df393c1fadd62148ae7467288cb8e8d2929ebc4 /activesupport/lib/active_support | |
parent | 98f96a0809de7cc33e683d0d4643ca80e3ac26bf (diff) | |
download | rails-7e6652edbf87d26489d2b68cfa29abeb2ab588c7.tar.gz rails-7e6652edbf87d26489d2b68cfa29abeb2ab588c7.tar.bz2 rails-7e6652edbf87d26489d2b68cfa29abeb2ab588c7.zip |
Prefer not to shadow a local
Diffstat (limited to 'activesupport/lib/active_support')
-rw-r--r-- | activesupport/lib/active_support/message_verifier.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/activesupport/lib/active_support/message_verifier.rb b/activesupport/lib/active_support/message_verifier.rb index a6723b8b33..0474b476df 100644 --- a/activesupport/lib/active_support/message_verifier.rb +++ b/activesupport/lib/active_support/message_verifier.rb @@ -45,7 +45,7 @@ module ActiveSupport l = a.unpack "C#{a.bytesize}" res = 0 - b.each_byte { |b| res |= b ^ l.shift } + b.each_byte { |byte| res |= byte ^ l.shift } res == 0 end |