diff options
author | Günther Deschner <gd@samba.org> | 2006-02-11 00:08:57 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 11:10:04 -0500 |
commit | f0a6a004f3095289dc7da3e00cce2ddb279cee00 (patch) | |
tree | 772774617c41170d5ae4f6736876e85e5c1e3361 /source3/rpc_client | |
parent | acc4a837aad67e7ade0289d67d05e5d57241dce3 (diff) | |
download | samba-f0a6a004f3095289dc7da3e00cce2ddb279cee00.tar.gz samba-f0a6a004f3095289dc7da3e00cce2ddb279cee00.tar.bz2 samba-f0a6a004f3095289dc7da3e00cce2ddb279cee00.zip |
r13451: Fix build warning.
Guenther
(This used to be commit d27771ca1d046aa7fc0c15d410d9fe83da85428f)
Diffstat (limited to 'source3/rpc_client')
-rw-r--r-- | source3/rpc_client/cli_samr.c | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/source3/rpc_client/cli_samr.c b/source3/rpc_client/cli_samr.c index 1910e3a25f..8c59d2d3af 100644 --- a/source3/rpc_client/cli_samr.c +++ b/source3/rpc_client/cli_samr.c @@ -1259,7 +1259,6 @@ NTSTATUS rpccli_samr_chgpasswd3(struct rpc_pipe_client *cli, prs_struct qbuf, rbuf; SAMR_Q_CHGPASSWD_USER3 q; SAMR_R_CHGPASSWD_USER3 r; - NTSTATUS result = NT_STATUS_UNSUCCESSFUL; uchar new_nt_password[516]; uchar new_lm_password[516]; @@ -1323,11 +1322,7 @@ NTSTATUS rpccli_samr_chgpasswd3(struct rpc_pipe_client *cli, /* Return output parameters */ - result = r.status; - - done: - - return result; + return r.status; } /* This function returns the bizzare set of (max_entries, max_size) required |