dsdb: Remove unused variable in samdb_result_passwords
authorAndrew Bartlett <abartlet@samba.org>
Tue, 26 Nov 2013 04:20:20 +0000 (17:20 +1300)
committerAndrew Bartlett <abartlet@samba.org>
Sun, 9 Feb 2014 23:01:55 +0000 (12:01 +1300)
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
source4/dsdb/common/util.c

index 3a24183e9f2cc1a275cc8ae50330a3eb2402afed..c04abd8e263d23475a0d2084380c69bda6b295dc 100644 (file)
@@ -632,7 +632,6 @@ NTSTATUS samdb_result_passwords_no_lockout(TALLOC_CTX *mem_ctx, struct loadparm_
 NTSTATUS samdb_result_passwords(TALLOC_CTX *mem_ctx, struct loadparm_context *lp_ctx, struct ldb_message *msg,
                                struct samr_Password **lm_pwd, struct samr_Password **nt_pwd)
 {
-       struct samr_Password *lmPwdHash, *ntPwdHash;
        uint16_t acct_flags = samdb_result_acct_flags(msg, "msDS-User-Account-Control-Computed");
 
        /* Quit if the account was locked out. */