Remove unused variable to compile without warnings