From: Günther Deschner Date: Thu, 19 Feb 2009 01:35:20 +0000 (+0100) Subject: s3-libnet: fix coverity #848 (UNINIT). X-Git-Tag: samba-4.0.0alpha7~129 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e9d5405948e35a8eec0b49cc6c066278cb523397;p=thirdparty%2Fsamba.git s3-libnet: fix coverity #848 (UNINIT). Guenther --- diff --git a/source3/libnet/libnet_samsync_keytab.c b/source3/libnet/libnet_samsync_keytab.c index cdb344604d8..768406314aa 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;