added osx clang unused parameters fix