fix fedora warning about unused function arguments.
You'd think they had never heard about conditional compilation before...