1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

warning removed.

1. Unused variable
2. possibly useless use of a variable in 
void context
This commit is contained in:
Arun Agrawal 2012-09-12 09:27:19 +05:30
parent 34b23e7110
commit 84a52c6c7a
2 changed files with 0 additions and 2 deletions

View file

@ -1,3 +1,2 @@
body = "" body = ""
body << ["Hello", "from", "Ruby", "code"].join(" ") body << ["Hello", "from", "Ruby", "code"].join(" ")
body

View file

@ -424,7 +424,6 @@ module ActiveRecord
elsif @connections.size < @size elsif @connections.size < @size
checkout_new_connection checkout_new_connection
else else
t0 = Time.now
@available.poll(@checkout_timeout) @available.poll(@checkout_timeout)
end end
end end