[Slirp] [Git][slirp/libslirp][master] mbuf: Avoid warning

Samuel Thibault (@sthibaul) gitlab at gitlab.freedesktop.org
Sun Jun 6 21:25:27 UTC 2021



Samuel Thibault pushed to branch master at slirp / libslirp


Commits:
8c621ee8 by Samuel Thibault at 2021-06-06T23:25:11+02:00
mbuf: Avoid warning

Signed-off-by: Samuel Thibault <samuel.thibault at ens-lyon.org>

- - - - -


1 changed file:

- src/mbuf.h


Changes:

=====================================
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)



View it on GitLab: https://gitlab.freedesktop.org/slirp/libslirp/-/commit/8c621ee887b41f1815f435491fd7bea63c2b8d6c

-- 
View it on GitLab: https://gitlab.freedesktop.org/slirp/libslirp/-/commit/8c621ee887b41f1815f435491fd7bea63c2b8d6c
You're receiving this email because of your account on gitlab.freedesktop.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/slirp/attachments/20210606/f0a6561a/attachment.htm>


More information about the Slirp mailing list