Suppress a warning about m_assertbuf being unused.

MFC after:	1 week
This commit is contained in:
Mark Johnston 2017-01-15 03:53:20 +00:00
parent c2655a40a7
commit d53d6fa9a8

View file

@ -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));