mirror of
https://github.com/opnsense/src.git
synced 2026-06-08 16:22:46 -04:00
Suppress a warning about m_assertbuf being unused.
MFC after: 1 week
This commit is contained in:
parent
c2655a40a7
commit
d53d6fa9a8
1 changed files with 1 additions and 1 deletions
|
|
@ -169,7 +169,7 @@ CTASSERT(sizeof(struct m_ext) == 28);
|
|||
* plain pointer does.
|
||||
*/
|
||||
#ifdef INVARIANTS
|
||||
static struct mbuf m_assertbuf;
|
||||
static struct mbuf __used m_assertbuf;
|
||||
CTASSERT(sizeof(m_assertbuf.m_slist) == sizeof(m_assertbuf.m_next));
|
||||
CTASSERT(sizeof(m_assertbuf.m_stailq) == sizeof(m_assertbuf.m_next));
|
||||
CTASSERT(sizeof(m_assertbuf.m_slistpkt) == sizeof(m_assertbuf.m_nextpkt));
|
||||
|
|
|
|||
Loading…
Reference in a new issue