Prefer not to shadow a local

This commit is contained in:
Jeremy Kemper
2009-09-13 05:56:21 -07:00
parent 98f96a0809
commit 7e6652edbf

View File

@@ -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