aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorSamuel Thibault <samuel.thibault@ens-lyon.org>2021-06-06 23:25:09 +0200
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2021-06-06 23:25:11 +0200
commit8c621ee887b41f1815f435491fd7bea63c2b8d6c (patch)
treeeee862ced30935b5ad268e4fcba6d971217b79f1 /src
parentf40fe880c0a5e77b81eeab87fb533bfb2d74b9d7 (diff)
downloadslirp-8c621ee887b41f1815f435491fd7bea63c2b8d6c.zip
slirp-8c621ee887b41f1815f435491fd7bea63c2b8d6c.tar.gz
slirp-8c621ee887b41f1815f435491fd7bea63c2b8d6c.tar.bz2
mbuf: Avoid warning
Signed-off-by: Samuel Thibault <samuel.thibault@ens-lyon.org>
Diffstat (limited to 'src')
-rw-r--r--src/mbuf.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mbuf.h b/src/mbuf.h
index 831277d..47b3b14 100644
--- a/src/mbuf.h
+++ b/src/mbuf.h
@@ -182,6 +182,7 @@ static inline void ifs_init(struct mbuf *ifm)
m_free(m); \
(m) = __n; \
} else { \
+ (void) (slirp); (void) (copy_header); \
g_assert(M_ROOMBEFORE(m) >= (header_size)); \
} \
} while(0)