summaryrefslogtreecommitdiff
path: root/source4/libnet
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2012-03-01 21:04:19 +1100
committerAndrew Bartlett <abartlet@samba.org>2012-03-01 13:40:11 +0100
commit9c11c0cde04efd0d101a09eb93fed6f432477772 (patch)
tree3f3c8b973e2a42aecf974ccb1674e667aafd2a22 /source4/libnet
parent1a5eafba13fa54dd44626625886d1e7a4adf5a2c (diff)
downloadsamba-9c11c0cde04efd0d101a09eb93fed6f432477772.tar.gz
samba-9c11c0cde04efd0d101a09eb93fed6f432477772.tar.bz2
samba-9c11c0cde04efd0d101a09eb93fed6f432477772.zip
s4-libnet: Remove set but unused variables
Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Thu Mar 1 13:40:12 CET 2012 on sn-devel-104
Diffstat (limited to 'source4/libnet')
-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));
}