mirror of
https://github.com/samba-team/samba.git
synced 2025-08-03 04:22:09 +03:00
s4:dsdb fix compiler warnings
about potentially uninitialized variables Signed-off-by: Christian Ambach <ambi@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org>
This commit is contained in:
committed by
Jeremy Allison
parent
2bd15d1b83
commit
cad07c7676
@ -379,7 +379,7 @@ static int update_kt_prepare_commit(struct ldb_module *module)
|
||||
struct smb_krb5_context *smb_krb5_context;
|
||||
int krb5_ret = smb_krb5_init_context(data, ldb_get_event_context(ldb), ldb_get_opaque(ldb, "loadparm"),
|
||||
&smb_krb5_context);
|
||||
TALLOC_CTX *tmp_ctx;
|
||||
TALLOC_CTX *tmp_ctx = NULL;
|
||||
|
||||
if (krb5_ret != 0) {
|
||||
ldb_asprintf_errstring(ldb, "Failed to setup krb5_context: %s", error_message(krb5_ret));
|
||||
|
Reference in New Issue
Block a user