Remove unused variable.
Treat warnings as errors.