1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-22 13:34:15 +03:00

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
This commit is contained in:
Andrew Bartlett 2012-03-01 21:04:19 +11:00
parent 1a5eafba13
commit 9c11c0cde0
2 changed files with 0 additions and 4 deletions

View File

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

View File

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