Remove some unused variables.
Merge pull request #942 from lioncash/unused

Remove some unused variables.