- Fix unused variable warning when compiling with --enable-dnstap.

This commit is contained in:
George Thessalonikefs 2021-06-08 22:15:17 +02:00
parent df53badfa2
commit 64546fcfb4
2 changed files with 12 additions and 9 deletions

View file

@ -519,7 +519,7 @@ dt_msg_send_outside_response(struct dt_env *env,
struct dt_msg dm;
uint16_t qflags;
log_assert(qbuf_len >= sizeof(qflags));
(void)qbuf_len; log_assert(qbuf_len >= sizeof(qflags));
memcpy(&qflags, qbuf, sizeof(qflags));
qflags = ntohs(qflags);

View file

@ -1,3 +1,6 @@
8 June 2021: George
- Fix unused variable warning when compiling with --enable-dnstap.
7 June 2021: George
- Merge #448 from shoeper: Update unbound-control.8.in, fix
rpz_disable typo.