Fix warning: assigned but unused variable
authorMike Moore <mike@blowmage.com>
Wed, 25 Mar 2015 23:03:20 +0000 (17:03 -0600)
committerMike Moore <mike@blowmage.com>
Wed, 25 Mar 2015 23:03:20 +0000 (17:03 -0600)
commit349c26fa8bf0de53d915c81a03da65d99c53de0c
treeb3af6d62148a4485c700aad6946bff41adb3a2e4
parentfb3fc4623f6070467abdaa5e642a2e7680afc0ab
Fix warning: assigned but unused variable

There are several places where varaibles are assigned but not used.
The variables can be replaced with _, or prepended with _ to avoid a warning.
In one case the variable was removed because it was at the end of the method.

Addresses the following warnings:

lib/google/api_client.rb:493: warning: assigned but unused variable - key
lib/google/api_client/batch.rb:168: warning: assigned but unused variable - callback
lib/google/api_client/batch.rb:227: warning: assigned but unused variable - base
lib/google/api_client/batch.rb:271: warning: assigned but unused variable - protocol
lib/google/api_client/batch.rb:271: warning: assigned but unused variable - reason
lib/google/api_client/request.rb:247: warning: assigned but unused variable - request_env
lib/google/api_client.rb
lib/google/api_client/batch.rb
lib/google/api_client/request.rb