diff options
author | Arun Agrawal <arunagw@gmail.com> | 2012-09-12 09:27:19 +0530 |
---|---|---|
committer | Arun Agrawal <arunagw@gmail.com> | 2012-09-12 09:28:14 +0530 |
commit | 84a52c6c7a0fb69c81a6add6d1201ea21024bf14 (patch) | |
tree | 8d52e27c426da4312dc6915012d7bed200f3c672 | |
parent | 34b23e7110a3a13cf157608cefc9b5701017bf39 (diff) | |
download | rails-84a52c6c7a0fb69c81a6add6d1201ea21024bf14.tar.gz rails-84a52c6c7a0fb69c81a6add6d1201ea21024bf14.tar.bz2 rails-84a52c6c7a0fb69c81a6add6d1201ea21024bf14.zip |
warning removed.
1. Unused variable
2. possibly useless use of a variable in
void context
-rw-r--r-- | actionpack/test/fixtures/ruby_template.rb | 1 | ||||
-rw-r--r-- | activerecord/lib/active_record/connection_adapters/abstract/connection_pool.rb | 1 |
2 files changed, 0 insertions, 2 deletions
diff --git a/actionpack/test/fixtures/ruby_template.rb b/actionpack/test/fixtures/ruby_template.rb index d99833a24d..5097bce47c 100644 --- a/actionpack/test/fixtures/ruby_template.rb +++ b/actionpack/test/fixtures/ruby_template.rb @@ -1,3 +1,2 @@ body = "" body << ["Hello", "from", "Ruby", "code"].join(" ") -body diff --git a/activerecord/lib/active_record/connection_adapters/abstract/connection_pool.rb b/activerecord/lib/active_record/connection_adapters/abstract/connection_pool.rb index d0ef20f1eb..f42a5df75f 100644 --- a/activerecord/lib/active_record/connection_adapters/abstract/connection_pool.rb +++ b/activerecord/lib/active_record/connection_adapters/abstract/connection_pool.rb @@ -424,7 +424,6 @@ module ActiveRecord elsif @connections.size < @size checkout_new_connection else - t0 = Time.now @available.poll(@checkout_timeout) end end |