Remove some warnings

They remove below ruby's warnings.

* shadowing outer local variable
* assigned but unused variable

Example to reproduce on MRI 1.9.3

*  ```$VERBOSE = true```
* with ```-w``` option