diff options
author | Thomas Haller <thaller@redhat.com> | 2018-04-10 08:45:55 +0200 |
---|---|---|
committer | Thomas Haller <thaller@redhat.com> | 2018-04-13 09:09:46 +0200 |
commit | d95717cdbe7d9770d1a0d1620a89f638d116bc78 (patch) | |
tree | 3ed93ddefc239b000aba10061683aa3dab896164 /src/nm-auth-utils.c | |
parent | 786adf969c297fc2e830b43cc9e9b1a154d43216 (diff) | |
download | NetworkManager-d95717cdbe7d9770d1a0d1620a89f638d116bc78.tar.gz |
auth-chain: remove unused error argument
Diffstat (limited to 'src/nm-auth-utils.c')
-rw-r--r-- | src/nm-auth-utils.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/nm-auth-utils.c b/src/nm-auth-utils.c index 5d92f36d6a..93aee45008 100644 --- a/src/nm-auth-utils.c +++ b/src/nm-auth-utils.c @@ -40,7 +40,6 @@ struct NMAuthChain { GDBusMethodInvocation *context; NMAuthSubject *subject; - GError *error; NMAuthChainResultFunc done_func; gpointer user_data; @@ -219,7 +218,7 @@ auth_chain_finish (gpointer user_data) /* Ensure we stay alive across the callback */ self->refcount++; - self->done_func (self, self->error, self->context, self->user_data); + self->done_func (self, NULL, self->context, self->user_data); nm_auth_chain_unref (self); return FALSE; } @@ -423,7 +422,6 @@ nm_auth_chain_unref (NMAuthChain *self) while ((call = c_list_first_entry (&self->auth_call_lst_head, AuthCall, auth_call_lst))) auth_call_free (call); - g_clear_error (&self->error); nm_clear_pointer (&self->data, g_hash_table_destroy); g_slice_free (NMAuthChain, self); |