diff --git a/authd/providers/ident.c b/authd/providers/ident.c index e6f08b19..d707469d 100644 --- a/authd/providers/ident.c +++ b/authd/providers/ident.c @@ -119,7 +119,6 @@ static void read_ident_reply(rb_fde_t *F, void *data) { struct auth_client *auth = data; - struct ident_query *query; char buf[IDENT_BUFSIZE + 1]; /* buffer to read auth reply into */ ident_message message = REPORT_FAIL; char *s = NULL; @@ -127,10 +126,6 @@ read_ident_reply(rb_fde_t *F, void *data) ssize_t len; int count; - lrb_assert(auth != NULL); - query = get_provider_data(auth, SELF_PID); - lrb_assert(query != NULL); - len = rb_read(F, buf, IDENT_BUFSIZE); if(len < 0 && rb_ignore_errno(errno)) { diff --git a/authd/providers/rdns.c b/authd/providers/rdns.c index ff0bb078..b6468460 100644 --- a/authd/providers/rdns.c +++ b/authd/providers/rdns.c @@ -58,9 +58,6 @@ static void dns_answer_callback(const char *res, bool status, query_type type, void *data) { struct auth_client *auth = data; - struct user_query *query = get_provider_data(auth, SELF_PID); - - lrb_assert(query != NULL); if(res == NULL || status == false) client_fail(auth, REPORT_FAIL);