Replace __attribute__((unused)) with ISC_ATTR_UNUSED attribute macro
Instead of marking the unused entities with UNUSED(x)
macro in the
function body, use a ISC_ATTR_UNUSED
attribute macro that expans to
C23 [[maybe_unused]]
or __attribute__((__unused__))
as fallback.
Edited by Ondřej Surý