diff options
Diffstat (limited to 'source3/rpcclient')
-rw-r--r-- | source3/rpcclient/cmd_reg.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/source3/rpcclient/cmd_reg.c b/source3/rpcclient/cmd_reg.c index 22a420a27e..787cd4f553 100644 --- a/source3/rpcclient/cmd_reg.c +++ b/source3/rpcclient/cmd_reg.c @@ -903,7 +903,6 @@ static NTSTATUS cmd_reg_shutdown(struct cli_state *cli, TALLOC_CTX *mem_ctx, uint32 timeout = 20; uint16 flgs = 0; int opt; - int ret; *msg = 0; optind = 0; /* TODO: test if this hack works on other systems too --simo */ @@ -940,7 +939,7 @@ static NTSTATUS cmd_reg_shutdown(struct cli_state *cli, TALLOC_CTX *mem_ctx, } /* create an entry */ - result = cli_reg_shutdown(cli, mem_ctx, srv_name, msg, timeout, flgs); + result = cli_reg_shutdown(cli, mem_ctx, msg, timeout, flgs); if (NT_STATUS_IS_OK(result)) DEBUG(5,("cmd_reg_shutdown: query succeeded\n")); @@ -958,9 +957,8 @@ static NTSTATUS cmd_reg_abort_shutdown(struct cli_state *cli, char **argv) { NTSTATUS result = NT_STATUS_UNSUCCESSFUL; - int ret; - result = cli_reg_abort_shutdown(cli, mem_ctx, srv_name); + result = cli_reg_abort_shutdown(cli, mem_ctx); if (NT_STATUS_IS_OK(result)) DEBUG(5,("cmd_reg_abort_shutdown: query succeeded\n")); |