diff options
author | Richard Braun <rbraun@sceen.net> | 2018-08-31 01:22:21 +0200 |
---|---|---|
committer | Richard Braun <rbraun@sceen.net> | 2018-08-31 01:22:21 +0200 |
commit | 93069a0a9f9dd82fc7d57c72704b2328e633d4aa (patch) | |
tree | 54d46f0e672fcfa692eeac2492e5f2aff6ff36b1 /src/mbuf.c | |
parent | b0969d077818a74f2fd26b5a7bec2263a4517b07 (diff) |
mbuf: fix warning when assertions are disabled
Diffstat (limited to 'src/mbuf.c')
-rw-r--r-- | src/mbuf.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -29,6 +29,7 @@ #include <stddef.h> #include <stdint.h> +#include "macros.h" #include "mbuf.h" /* @@ -82,7 +83,7 @@ mbuf_clear_old_msgs(struct mbuf *mbuf, size_t total_size) { struct mbuf_hdr hdr; size_t size; - int error; + __unused int error; do { size = sizeof(hdr); |