summaryrefslogtreecommitdiff
path: root/source3/libnet/libnet_keytab.c
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2008-08-07 17:49:19 -0700
committerJeremy Allison <jra@samba.org>2008-08-07 17:49:19 -0700
commit3907392459533832ada823e614154951365348ee (patch)
tree964c402d67ce38b4b24b48891b73a97e836bea6a /source3/libnet/libnet_keytab.c
parent00dd853a6f894796b63bb1629e0d72a32f2ba626 (diff)
downloadsamba-3907392459533832ada823e614154951365348ee.tar.gz
samba-3907392459533832ada823e614154951365348ee.tar.bz2
samba-3907392459533832ada823e614154951365348ee.zip
Fix "might be used uninitialized" warnings.
Jeremy. (This used to be commit 5abd12eec1c9b6d30af5ec1ba16c0922e78d5bea)
Diffstat (limited to 'source3/libnet/libnet_keytab.c')
-rw-r--r--source3/libnet/libnet_keytab.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source3/libnet/libnet_keytab.c b/source3/libnet/libnet_keytab.c
index 836cf6ed23..6447183958 100644
--- a/source3/libnet/libnet_keytab.c
+++ b/source3/libnet/libnet_keytab.c
@@ -314,6 +314,7 @@ krb5_error_code libnet_keytab_add(struct libnet_keytab_context *ctx)
struct libnet_keytab_entry *entry = &ctx->entries[i];
krb5_data password;
+ ZERO_STRUCT(password);
password.data = (char *)entry->password.data;
password.length = entry->password.length;