summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source4/libnet/libnet_group.c2
-rw-r--r--source4/libnet/libnet_user.c2
2 files changed, 0 insertions, 4 deletions
diff --git a/source4/libnet/libnet_group.c b/source4/libnet/libnet_group.c
index 9fdeb809f1..5d8f9e200a 100644
--- a/source4/libnet/libnet_group.c
+++ b/source4/libnet/libnet_group.c
@@ -139,11 +139,9 @@ NTSTATUS libnet_CreateGroup_recv(struct composite_context *c,
struct libnet_CreateGroup *r)
{
NTSTATUS status;
- struct create_group_state *s;
status = composite_wait(c);
if (!NT_STATUS_IS_OK(status)) {
- s = talloc_get_type_abort(c->private_data, struct create_group_state);
r->out.error_string = talloc_strdup(mem_ctx, nt_errstr(status));
}
diff --git a/source4/libnet/libnet_user.c b/source4/libnet/libnet_user.c
index 019f8e759f..e56ed498c2 100644
--- a/source4/libnet/libnet_user.c
+++ b/source4/libnet/libnet_user.c
@@ -167,14 +167,12 @@ NTSTATUS libnet_CreateUser_recv(struct composite_context *c, TALLOC_CTX *mem_ctx
struct libnet_CreateUser *r)
{
NTSTATUS status;
- struct create_user_state *s;
r->out.error_string = NULL;
/* wait for result of async request and check status code */
status = composite_wait(c);
if (!NT_STATUS_IS_OK(status)) {
- s = talloc_get_type_abort(c->private_data, struct create_user_state);
r->out.error_string = talloc_strdup(mem_ctx, nt_errstr(status));
}