Marked all unsued parameters found by -Werror=unused-parameter with UNUSED()

This commit is contained in:
thorkill 2015-07-02 18:37:08 +02:00
parent 1391b2d7dc
commit f1a9a40c90
21 changed files with 67 additions and 7 deletions

View file

@ -635,6 +635,7 @@ void handle_new_meta_connection(void *data, int flags) {
sockaddr_t sa;
int fd;
socklen_t len = sizeof sa;
UNUSED(flags);
fd = accept(l->tcp.fd, &sa.sa, &len);
@ -732,6 +733,7 @@ void handle_new_unix_connection(void *data, int flags) {
sockaddr_t sa;
int fd;
socklen_t len = sizeof sa;
UNUSED(flags);
fd = accept(io->fd, &sa.sa, &len);