Remove unused variables

Suppress warnings by gcc 4.9.