remove unused variables

This commit is contained in:
Simon Arlott 2017-08-04 21:01:17 +01:00
parent 4f8866f680
commit 6b80043eca
No known key found for this signature in database
GPG key ID: C8975F2043CA5D24
2 changed files with 0 additions and 8 deletions

View file

@ -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))
{

View file

@ -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);