Date: Wed, 27 Apr 2022 10:02:16 -0400 From: Ed Maste <emaste@freebsd.org> To: John Baldwin <jhb@freebsd.org> Cc: Mateusz Guzik <mjg@freebsd.org>, src-committers <src-committers@freebsd.org>, "<dev-commits-src-all@freebsd.org>" <dev-commits-src-all@freebsd.org>, dev-commits-src-main@freebsd.org Subject: Re: git: b40c0db6f6d6 - main - Patch up __diagused for when only one of INVARIANTS or WITNESS is defined Message-ID: <CAPyFy2DF1JONb%2B_J6p33DMh4Xi1nK1z4JukvymY_h5WVdKJYXg@mail.gmail.com> In-Reply-To: <0dbcc859-69b1-4850-11c3-f8a4acf5bde9@FreeBSD.org> References: <202204271330.23RDUHwN063641@gitrepo.freebsd.org> <0dbcc859-69b1-4850-11c3-f8a4acf5bde9@FreeBSD.org>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAPyFy2DF1JONb%2B_J6p33DMh4Xi1nK1z4JukvymY_h5WVdKJYXg>