Removed unused variables

The unused variables were causing clang to issue error messages.