diff --git a/src/main.c b/src/main.c index ef3cfd9..94a5803 100644 --- a/src/main.c +++ b/src/main.c @@ -6,6 +6,7 @@ int main(int argc, char **argv) { struct tls_config *config; Connection connection; + (void) argc, (void) argv; tls_init(); config = tls_config_new(); connection_init(EV_DEFAULT_ & connection, config); diff --git a/src/network.c b/src/network.c index ebf9a95..2787ef5 100644 --- a/src/network.c +++ b/src/network.c @@ -26,6 +26,7 @@ struct Buffer { #endif void connection_init(EV_P_ Connection *connection, struct tls_config *config) { + (void)(EV_A_ 0); ev_io_init(&connection->watcher, NULL, STDIN_FILENO, 0); connection->ctx = tls_client(); tls_configure(connection->ctx, config);