summaryrefslogtreecommitdiff
path: root/proto
diff options
context:
space:
mode:
authorMaria Matejka <mq@ucw.cz>2023-01-18 12:33:06 +0100
committerMaria Matejka <mq@ucw.cz>2023-01-18 12:33:06 +0100
commit6bb992cb04926895be57dc97e7d569ea15a07db1 (patch)
tree12f90320f7aac28711d308c76db1e51f4d4aa58b /proto
parent973aa37e1e28a9c508fe09c008196f64cd3966fd (diff)
parent7144c9ca46f092da33a4e051bbce8f973a3bd8c4 (diff)
Merge branch 'master' of https://gitlab.nic.cz/labs/bird
Diffstat (limited to 'proto')
-rw-r--r--proto/mrt/mrt.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/proto/mrt/mrt.c b/proto/mrt/mrt.c
index 321c6395..d1c334e1 100644
--- a/proto/mrt/mrt.c
+++ b/proto/mrt/mrt.c
@@ -113,13 +113,13 @@ mrt_buffer_flush(buffer *b)
}
#define MRT_DEFINE_TYPE(S, T) \
- static inline void mrt_put_##S##_(buffer *b, T x) \
+ static inline void UNUSED mrt_put_##S##_(buffer *b, T x) \
{ \
put_##S(b->pos, x); \
b->pos += sizeof(T); \
} \
\
- static inline void mrt_put_##S(buffer *b, T x) \
+ static inline void UNUSED mrt_put_##S(buffer *b, T x) \
{ \
mrt_buffer_need(b, sizeof(T)); \
put_##S(b->pos, x); \