From 7a1a0cde2e4b3f1ef43de9021dcc1e60da87089b Mon Sep 17 00:00:00 2001 From: Matthias Dieter Wallnöfer Date: Sat, 18 Sep 2010 10:06:03 +0200 Subject: s4:password_hash LDB module - don't assign "lp_ctx" twice Signed-off-by: Andrew Bartlett --- source4/dsdb/samdb/ldb_modules/password_hash.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source4/dsdb/samdb/ldb_modules/password_hash.c b/source4/dsdb/samdb/ldb_modules/password_hash.c index 42ee65dc18..550f3c4e43 100644 --- a/source4/dsdb/samdb/ldb_modules/password_hash.c +++ b/source4/dsdb/samdb/ldb_modules/password_hash.c @@ -2687,8 +2687,8 @@ static int password_hash_mod_do_mod(struct ph_context *ac) { struct ldb_context *ldb = ldb_module_get_ctx(ac->module); struct loadparm_context *lp_ctx = - lp_ctx = talloc_get_type(ldb_get_opaque(ldb, "loadparm"), - struct loadparm_context); + talloc_get_type(ldb_get_opaque(ldb, "loadparm"), + struct loadparm_context); struct ldb_request *mod_req; struct ldb_message *msg; const struct ldb_message *orig_msg, *searched_msg; -- cgit