git ssb

0+

dangerousbeans / %aPBe2k3ugtjBr4rrsU1…



Commit 697b93db79cf10dcb480e9260337517ae93d75dc

fix unused variable complaints in 1.9.3

Aaron Patterson committed on 2/10/2011, 9:04:13 PM
Parent: 5c63bf7112f3bec6a2f14cd3645f265667e9726e

Files changed

lib/bcrypt.rbchanged
lib/bcrypt.rbView
@@ -186,9 +186,9 @@
186186 # split_hash(raw_hash) -> version, cost, salt, hash
187187 #
188188 # Splits +h+ into version, cost, salt, and hash and returns them in that order.
189189 def split_hash(h)
190- b, v, c, mash = h.split('$')
190+ _, v, c, mash = h.split('$')
191191 return v, c.to_i, h[0, 29].to_str, mash[-31, 31].to_str
192192 end
193193 end
194194 end

Built with git-ssb-web