Use [[maybe_unused]] to mark unused variables rather than other hacky methods that are not guaranteed to work.