HomeFreeBSD

opencrypto: mark INVARIANTS variables as __diagused

Description

opencrypto: mark INVARIANTS variables as __diagused

Fixes INVARIANTS build with Clang 15, which previously failed due to
set-but-not-used variable warnings.

MFC after: 1 week
Sponsored by: The FreeBSD Foundation

(cherry picked from commit 3471fcf3a42d2a7b221215bfc772a6d1a170a059)

Details

Provenance
emasteAuthored on Aug 9 2022, 11:23 PM
Parents
rG5720c747b237: pf: Reduce diffs against OpenBSD in pf_if.c
Branches
Unknown
Tags
Unknown