Re: git: b40c0db6f6d6 - main - Patch up __diagused for when only one of INVARIANTS or WITNESS is defined

From: Ed Maste <emaste_at_freebsd.org>
Date: Wed, 27 Apr 2022 14:02:16 UTC
On Wed, 27 Apr 2022 at 09:59, John Baldwin <jhb@freebsd.org> wrote:
>
> Hmm, could this just be:
>
> #if defined(INVARIANTS) && defined(WITNESS)
> #define __diagused
> #else
> #define __diagused __unused
> #endif

LGTM