Check for unused function parameters