diff options
author | markj <markj@FreeBSD.org> | 2017-02-03 01:04:22 +0000 |
---|---|---|
committer | markj <markj@FreeBSD.org> | 2017-02-03 01:04:22 +0000 |
commit | 5d1dd11dfe89394fbf0aa9074a7e209f04a4e666 (patch) | |
tree | ca2170009d3fbdd5bfbe40e7e99a0cb49ac70be0 | |
parent | 0f4a2a370df2931f2522aa4b0fe8bab484e1e9d9 (diff) | |
download | FreeBSD-src-5d1dd11dfe89394fbf0aa9074a7e209f04a4e666.zip FreeBSD-src-5d1dd11dfe89394fbf0aa9074a7e209f04a4e666.tar.gz |
MFC r312209:
Suppress a warning about m_assertbuf being unused.
-rw-r--r-- | sys/kern/uipc_mbuf.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/kern/uipc_mbuf.c b/sys/kern/uipc_mbuf.c index 8c5ee78..5f103eb 100644 --- a/sys/kern/uipc_mbuf.c +++ b/sys/kern/uipc_mbuf.c @@ -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)); |