Removed C++11 keyword and unused variable.