Commit 697b93db79cf10dcb480e9260337517ae93d75dc
fix unused variable complaints in 1.9.3
Aaron Patterson committed on 2/10/2011, 9:04:13 PMParent: 5c63bf7112f3bec6a2f14cd3645f265667e9726e
Files changed
lib/bcrypt.rb | changed |
lib/bcrypt.rb | ||
---|---|---|
@@ -186,9 +186,9 @@ | ||
186 | 186 | # split_hash(raw_hash) -> version, cost, salt, hash |
187 | 187 | # |
188 | 188 | # Splits +h+ into version, cost, salt, and hash and returns them in that order. |
189 | 189 | def split_hash(h) |
190 | - b, v, c, mash = h.split('$') | |
190 | + _, v, c, mash = h.split('$') | |
191 | 191 | return v, c.to_i, h[0, 29].to_str, mash[-31, 31].to_str |
192 | 192 | end |
193 | 193 | end |
194 | 194 | end |
Built with git-ssb-web