Removed unused variables

Build fixes for a higher warning level