summaryrefslogtreecommitdiff
path: root/source3/libnet/libnet_samsync_keytab.c
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2009-02-19 02:35:20 +0100
committerGünther Deschner <gd@samba.org>2009-02-19 13:01:59 +0100
commite9d5405948e35a8eec0b49cc6c066278cb523397 (patch)
treeb9e7da57b8851b52d003956cc02f2bc5031ff52b /source3/libnet/libnet_samsync_keytab.c
parent052f3f0d4da01d27835ef265036a36d20941f1a8 (diff)
downloadsamba-e9d5405948e35a8eec0b49cc6c066278cb523397.tar.gz
samba-e9d5405948e35a8eec0b49cc6c066278cb523397.tar.bz2
samba-e9d5405948e35a8eec0b49cc6c066278cb523397.zip
s3-libnet: fix coverity #848 (UNINIT).
Guenther
Diffstat (limited to 'source3/libnet/libnet_samsync_keytab.c')
-rw-r--r--source3/libnet/libnet_samsync_keytab.c2
1 files changed, 1 insertions, 1 deletions
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;