Removed some unused variables.

This bug was detected by SensioLabs Insight (Rule # 35-020)