diff --git a/authd/provider.c b/authd/provider.c index 2bcd7c3c..f4a0cb5e 100644 --- a/authd/provider.c +++ b/authd/provider.c @@ -221,8 +221,6 @@ reject_client(struct auth_client *auth, provider_t id, const char *data, const c void accept_client(struct auth_client *auth, provider_t id) { - uint32_t cid = auth->cid; - rb_helper_write(authd_helper, "A %x %s %s", auth->cid, auth->username, auth->hostname); set_provider_off(auth, id); diff --git a/authd/providers/blacklist.c b/authd/providers/blacklist.c index ad720988..f4b03f56 100644 --- a/authd/providers/blacklist.c +++ b/authd/providers/blacklist.c @@ -425,9 +425,7 @@ blacklists_init(void) static void blacklists_destroy(void) { - rb_dlink_node *ptr, *nptr; rb_dictionary_iter iter; - struct blacklist *bl; struct auth_client *auth; RB_DICTIONARY_FOREACH(auth, &iter, auth_clients) diff --git a/authd/res.c b/authd/res.c index d68e402a..1aeae107 100644 --- a/authd/res.c +++ b/authd/res.c @@ -517,8 +517,6 @@ void build_rdns(char *buf, size_t size, const struct rb_sockaddr_storage *addr, static void do_query_number(struct DNSQuery *query, const struct rb_sockaddr_storage *addr, struct reslist *request) { - const unsigned char *cp; - if (request == NULL) { request = make_request(query);