Squash compiler warnings

Comment out an unused variable and remove a variable set but not used.