Index: services/outside_network.c =================================================================== --- services/outside_network.c (revision 3821) +++ services/outside_network.c (working copy) @@ -1409,7 +1409,8 @@ /** perturb a dname capitalization randomly */ static void -serviced_perturb_qname(struct ub_randstate* rnd, uint8_t* qbuf, size_t len) +serviced_perturb_qname(struct ub_randstate* rnd, uint8_t* qbuf, + size_t ATTR_UNUSED(len)) { uint8_t lablen; uint8_t* d = qbuf + 10; Index: util/config_file.c =================================================================== --- util/config_file.c (revision 3821) +++ util/config_file.c (working copy) @@ -1434,7 +1434,7 @@ /** set a bit in a bit array */ static void -cfg_set_bit(uint8_t* bitlist, size_t len, int id) +cfg_set_bit(uint8_t* bitlist, size_t ATTR_UNUSED(len), int id) { int pos = id/8; log_assert((size_t)pos < len); Index: util/netevent.c =================================================================== --- util/netevent.c (revision 3821) +++ util/netevent.c (working copy) @@ -852,7 +852,7 @@ #endif void -comm_point_tcp_accept_callback(int fd, short event, void* arg) +comm_point_tcp_accept_callback(int ATTR_UNUSED(fd), short event, void* arg) { struct comm_point* c = (struct comm_point*)arg, *c_hdl; int new_fd;