Removed clang __unused parameter attribute preventing compilation on with gcc