r13451: Fix build warning.
authorGünther Deschner <gd@samba.org>
Sat, 11 Feb 2006 00:08:57 +0000 (00:08 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 16:10:04 +0000 (11:10 -0500)
Guenther
(This used to be commit d27771ca1d046aa7fc0c15d410d9fe83da85428f)

source3/rpc_client/cli_samr.c

index 1910e3a25f15f1857c6f53c00a8bba3dc7e1442c..8c59d2d3afa869b40deef8a9ba7c9e0789a0eaf1 100644 (file)
@@ -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