trim trailing spaces
re-enable "unused-parameters" warning