summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source3/lib/netapi/samr.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/source3/lib/netapi/samr.c b/source3/lib/netapi/samr.c
index fb30d4d71e..647ae65326 100644
--- a/source3/lib/netapi/samr.c
+++ b/source3/lib/netapi/samr.c
@@ -81,7 +81,6 @@ WERROR libnetapi_samr_open_domain(struct libnetapi_ctx *mem_ctx,
}
if (!is_valid_policy_hnd(connect_handle)) {
- NTSTATUS result;
status = dcerpc_try_samr_connects(pipe_cli->binding_handle, mem_ctx,
pipe_cli->srv_name_slash,
connect_mask,
@@ -222,7 +221,6 @@ WERROR libnetapi_samr_open_builtin_domain(struct libnetapi_ctx *mem_ctx,
}
if (!is_valid_policy_hnd(connect_handle)) {
- NTSTATUS result;
status = dcerpc_try_samr_connects(pipe_cli->binding_handle, mem_ctx,
pipe_cli->srv_name_slash,
connect_mask,