emit warning when using ignored argument