Marked all unsued parameters found by -Werror=unused-parameter with UNUSED()
This commit is contained in:
parent
1391b2d7dc
commit
f1a9a40c90
21 changed files with 67 additions and 7 deletions
|
|
@ -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);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue