Remove unused variables.

Fixed a warning.