Fix unused arg treated as error with clang