From e9d5405948e35a8eec0b49cc6c066278cb523397 Mon Sep 17 00:00:00 2001 From: Günther Deschner Date: Thu, 19 Feb 2009 02:35:20 +0100 Subject: s3-libnet: fix coverity #848 (UNINIT). Guenther --- source3/libnet/libnet_samsync_keytab.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source3') diff --git a/source3/libnet/libnet_samsync_keytab.c b/source3/libnet/libnet_samsync_keytab.c index cdb344604d..768406314a 100644 --- a/source3/libnet/libnet_samsync_keytab.c +++ b/source3/libnet/libnet_samsync_keytab.c @@ -111,7 +111,7 @@ static NTSTATUS init_keytab(TALLOC_CTX *mem_ctx, { krb5_error_code ret = 0; NTSTATUS status; - struct libnet_keytab_context *keytab_ctx; + struct libnet_keytab_context *keytab_ctx = NULL; struct libnet_keytab_entry *entry; uint64_t old_sequence_num = 0; const char *principal = NULL; -- cgit